VirtualBox

Ignore:
Timestamp:
Mar 21, 2018 11:49:59 AM (7 years ago)
Author:
vboxsync
Message:

BIOS: Added disabled code which can place the FDPT outside of conventional memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/ata.c

    r71424 r71426  
    552552                    fdpt = ebda_seg :> &EbdaData->fdpt1;
    553553
     554#if 0
     555                /* Place the FDPT outside of conventional memory. Needed for
     556                 * 286 XENIX 2.1.3/2.2.1 because it completely wipes out
     557                 * the EBDA and low memory. Hack!
     558                 */
     559                fdpt = MK_FP(0xE200, 0xf00);
     560                fdpt += device;
     561#endif
     562
    554563                /* Set the INT 41h or 46h pointer. */
    555564                int_vec  = MK_FP(0, (0x41 + device * 5) * sizeof(void __far *));
     
    560569                 * isn't worth the effort of converting from AMI to Award CMOS
    561570                 * format. Just do it here. */
     571                fdpt->resvd1 = fdpt->resvd2 = 0;
     572
    562573                fdpt->lcyl  = lgeo.cylinders;
    563574                fdpt->lhead = lgeo.heads;
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