VirtualBox

Ignore:
Timestamp:
Apr 22, 2016 4:45:50 PM (9 years ago)
Author:
vboxsync
Message:

bs3kit: Don't try override IVT[0x6d] as it turns out real VGA BIOSes likes using it and it may totally blow up INT 10h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TrapRmV86Init.c

    r60585 r60660  
    8787     * cannot move the IVT from its default location.  So, modify it in place.
    8888     *
    89      * Note! We must keep int 10h working, which is easy since the CPU does
     89     * Note! We must keep INT 10h working, which is easy since the CPU does
    9090     *       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.
    9194     */
    9295    for (iIvt = 0; iIvt < 256; iIvt++)
    93         if (iIvt != 0x10 && iIvt != BS3_TRAP_SYSCALL)
     96        if (iIvt != 0x10 && iIvt != 0x6d && iIvt != BS3_TRAP_SYSCALL)
    9497        {
    9598            paIvt[iIvt].off = (uint16_t)(uintptr_t)Bs3TrapRmV86GenericEntries + iIvt * 8;
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