VirtualBox

Changeset 19971 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
May 24, 2009 4:48:11 PM (16 years ago)
Author:
vboxsync
Message:

initterm-r0drv-nt.cpp: XP64 (untested).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/initterm-r0drv-nt.cpp

    r19969 r19971  
    128128        PKPCR    pPcr   = (PKPCR)__readgsqword(RT_OFFSETOF(KPCR,Self));
    129129        uint8_t *pbPrcb = (uint8_t *)pPcr->CurrentPrcb;
     130
     131        if (    BuildNumber == 3790                             /* XP64 / W2K3-AMD64 SP1 */
     132            &&  !memcmp(&pbPrcb[0x22b4], &u.szVendor[0], 4*3))
     133        {
     134            g_offrtNtPbQuantumEnd    = 0x1f75;
     135            g_cbrtNtPbQuantumEnd     = 1;
     136            g_offrtNtPbDpcQueueDepth = 0x1f00 + 0x18;
     137        }
    130138        /** @todo proper detection! */
    131         if (pbPrcb[0x3375] <= 1)
     139        else if (pbPrcb[0x3375] <= 1)
    132140        {
    133141            g_offrtNtPbQuantumEnd    = 0x3375;
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