VirtualBox

忽略:
時間撮記:
2016-4-4 下午05:01:14 (9 年 以前)
作者:
vboxsync
訊息:

bs3kit: Use \#define with BS3_DATA_NM to map data symbols to names accessible in all context. (Underscores in 16-bit and 32-bit, no underscores in 64-bit.) Detect PSE.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-Trap16Init.c

    r60202 r60311  
    7878     * Initialize the normal TSS so we can do ring transitions via the IDT.
    7979     */
    80     pTss = &BS3_DATA_NM(Bs3Tss16);
     80    pTss = &Bs3Tss16;
    8181    Bs3MemZero(pTss, sizeof(*pTss));
    8282    pTss->sp0       = BS3_ADDR_STACK_R0;
     
    9191     * cr3 is filled in by switcher code, when needed.
    9292     */
    93     pTss = &BS3_DATA_NM(Bs3Tss16DoubleFault);
     93    pTss = &Bs3Tss16DoubleFault;
    9494    Bs3MemZero(pTss, sizeof(*pTss));
    9595    pTss->sp0       = BS3_ADDR_STACK_R0;
     
    114114BS3_DECL(void) Bs3Trap16Init(void)
    115115{
    116     Bs3Trap16InitEx((BS3_DATA_NM(g_uBs3CpuDetected) & BS3CPU_TYPE_MASK) >= BS3CPU_80386);
     116    Bs3Trap16InitEx((g_uBs3CpuDetected & BS3CPU_TYPE_MASK) >= BS3CPU_80386);
    117117}
    118118
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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