Changeset 60660 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TrapRmV86Init.c
- Timestamp:
- Apr 22, 2016 4:45:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TrapRmV86Init.c
r60585 r60660 87 87 * cannot move the IVT from its default location. So, modify it in place. 88 88 * 89 * Note! We must keep int10h working, which is easy since the CPU does89 * Note! We must keep INT 10h working, which is easy since the CPU does 90 90 * use it (well, it's been reserved for 30+ years). 91 * Turns out we must not hook INT 6Dh either then, as some real VGA 92 * BIOS installs their INT 10h handler there as well, and seemingly 93 * must be using it internally or something. 91 94 */ 92 95 for (iIvt = 0; iIvt < 256; iIvt++) 93 if (iIvt != 0x10 && iIvt != BS3_TRAP_SYSCALL)96 if (iIvt != 0x10 && iIvt != 0x6d && iIvt != BS3_TRAP_SYSCALL) 94 97 { 95 98 paIvt[iIvt].off = (uint16_t)(uintptr_t)Bs3TrapRmV86GenericEntries + iIvt * 8;
Note:
See TracChangeset
for help on using the changeset viewer.