VirtualBox

Changeset 19287 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 1, 2009 1:07:51 PM (16 years ago)
Author:
vboxsync
Message:

VBox/cdefs.h,REM,CFGM: VMMRZDECL + some cleanup.

File:
1 edited

Legend:

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

    r12989 r19287  
    277277 */
    278278/** @def VMMRCDECL
    279  * Guest context VMM export or import declaration.
     279 * Raw-mode context VMM export or import declaration.
    280280 * @param   type    The return type of the function declaration.
    281281 */
     
    286286#endif
    287287
     288/** @def VMMRZDECL
     289 * Ring-0 and Raw-mode context VMM export or import declaration.
     290 * @param   type    The return type of the function declaration.
     291 */
     292#if defined(IN_VMM_R0) || defined(IN_VMM_RC)
     293# define VMMRZDECL(type)    DECLEXPORT(type) VBOXCALL
     294#else
     295# define VMMRZDECL(type)    DECLIMPORT(type) VBOXCALL
     296#endif
     297
    288298/** @def VMMDECL
    289299 * VMM export or import declaration.
     
    312322
    313323
    314 
    315 /** @def NOT_DMIK(expr)
    316  * Turns the given expression into NOOP when DEBUG_dmik is defined. Evaluates
    317  * the expression normally otherwise.
    318  * @param expr  Expression to guard.
    319  */
    320 #if defined(DEBUG_dmik)
    321 # define NOT_DMIK(expr)     do { } while (0)
    322 #else
    323 # define NOT_DMIK(expr)     expr
    324 #endif
    325 
    326 
    327 #endif
    328 
     324#endif
     325
Note: See TracChangeset for help on using the changeset viewer.

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