Changeset 981 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Feb 19, 2007 2:47:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c
r914 r981 2721 2721 /** @todo we MUST change this detection to try grab an entry which is NOT in use. This can be 2722 2722 * combined with gathering info about which guest system call gates we can hook up directly. */ 2723 unsigned i;2724 2723 uint8_t u8Idt = 0; 2725 2724 static uint8_t au8Ints[] = … … 2734 2733 0xbf, 0xbe, 0xbd, 0xbc, 2735 2734 }; 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; 2737 2739 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++) 2739 2741 { 2740 2742 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.