VirtualBox

Changeset 40644 in vbox


Ignore:
Timestamp:
Mar 26, 2012 1:21:14 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77074
Message:

sup.h,VMMR0.cpp: Moved the ModuleInit/Term prototypes to sup.h.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r40636 r40644  
    13291329/** @} */
    13301330
     1331/** @name Ring-0 module entry points.
     1332 * 
     1333 * These can be exported by ring-0 modules SUP are told to load.
     1334 * 
     1335 * @{ */
     1336DECLEXPORT(int)  ModuleInit(void *hMod);
     1337DECLEXPORT(void) ModuleTerm(void *hMod);
     1338/** @}  */
     1339
     1340
    13311341/** @} */
    13321342#endif
    13331343
     1344
    13341345/** @} */
    13351346
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r40636 r40644  
    6565*******************************************************************************/
    6666RT_C_DECLS_BEGIN
    67 VMMR0DECL(int)  ModuleInit(void *hMod);
    68 VMMR0DECL(void) ModuleTerm(void *hMod);
    69 
    7067#if defined(RT_ARCH_X86) && (defined(RT_OS_SOLARIS) || defined(RT_OS_FREEBSD))
    7168extern uint64_t __udivdi3(uint64_t, uint64_t);
     
    106103 * @param   hMod        Image handle for use in APIs.
    107104 */
    108 VMMR0DECL(int) ModuleInit(void *hMod)
     105DECLEXPORT(int) ModuleInit(void *hMod)
    109106{
    110107#ifdef VBOX_WITH_DTRACE_R0
     
    201198 * @param   hMod        Image handle for use in APIs.
    202199 */
    203 VMMR0DECL(void) ModuleTerm(void *hMod)
     200DECLEXPORT(void) ModuleTerm(void *hMod)
    204201{
    205202    LogFlow(("ModuleTerm:\n"));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette