VirtualBox

Changeset 981 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Feb 19, 2007 2:47:25 PM (18 years ago)
Author:
vboxsync
Message:

Debug only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c

    r914 r981  
    27212721        /** @todo we MUST change this detection to try grab an entry which is NOT in use. This can be
    27222722         * combined with gathering info about which guest system call gates we can hook up directly. */
    2723         unsigned    i;
    27242723        uint8_t     u8Idt = 0;
    27252724        static uint8_t au8Ints[] =
     
    27342733            0xbf, 0xbe, 0xbd, 0xbc,
    27352734        };
    2736 #if defined(__AMD64__)
     2735#if defined(__AMD64__) && defined(DEBUG)
     2736        static int  s_iWobble = 0;
     2737        unsigned    i;
     2738        unsigned    iMax = !(s_iWobble++ % 2) ? 0x80 : 0x100;
    27372739        dprintf(("IDT: Idtr=%p:%#x\n", (void *)Idtr.pIdt, (unsigned)Idtr.cbIdt));
    2738         for (i = 0; i*16+15 < Idtr.cbIdt; i++)
     2740        for (i = iMax - 0x80; i*16+15 < Idtr.cbIdt && i < iMax; i++)
    27392741        {
    27402742            dprintf(("%#x: %04x:%08x%04x%04x P=%d DPL=%d IST=%d Type1=%#x u32Reserved=%#x u5Reserved=%#x\n",
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