VirtualBox

忽略:
時間撮記:
2015-11-22 上午02:56:17 (9 年 以前)
作者:
vboxsync
訊息:

bs3kit: Started on the switcher code.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r58811 r58812  
    131131
    132132#define BS3_SEL_VMMDEV_MMIO16       0x00f8 /**< Selector for accessing the VMMDev MMIO segment at 0100000h from 16-bit code. */
     133
     134#define BS3_SEL_RING_SHIFT          8      /**< For the formula: BS3_SEL_R0_XXX + ((cs & 3) << BS3_SEL_RING_SHIFT) */
    133135
    134136#define BS3_SEL_R0_FIRST            0x0100 /**< The first selector in the ring-0 block. */
     
    336338#else
    337339# define BS3_DECL(a_Type)   DECLIMPORT(a_Type) BS3_NEAR_CODE BS3_CALL
     340#endif
     341
     342/** @def BS3_DECL_CALLBACK
     343 * Declares a BS3Kit callback function (typically static).
     344 *
     345 * Until we outgrow BS3TEXT16, we use all near functions in 16-bit.
     346 *
     347 * @param a_Type        The return type. */
     348#ifdef IN_BS3KIT
     349# define BS3_DECL_CALLBACK(a_Type)   a_Type BS3_NEAR_CODE BS3_CALL
     350#else
     351# define BS3_DECL_CALLBACK(a_Type)   a_Type BS3_NEAR_CODE BS3_CALL
    338352#endif
    339353
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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