VirtualBox

Changeset 104067 in vbox for trunk


Ignore:
Timestamp:
Mar 26, 2024 4:35:54 PM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162460
Message:

Comments.

File:
1 edited

Legend:

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

    r100443 r104067  
    628628                    fdpt = ebda_seg :> &EbdaData->fdpt1;
    629629
    630 #if 0
    631                 /* Place the FDPT outside of conventional memory. Needed for
    632                  * 286 XENIX 2.1.3/2.2.1 because it completely wipes out
    633                  * the EBDA and low memory. Hack!
    634                  */
    635                 fdpt = MK_FP(0xE200, 0xf00);
    636                 fdpt += device;
    637 #endif
    638 
    639630                /* Set the INT 41h or 46h pointer. */
    640631                int_vec  = MK_FP(0, (0x41 + device * 5) * sizeof(void __far *));
     
    664655                 * INT 41h/46h at the drive table in ROM.
    665656                 * This is required for some old guests which look at INT 41h/46h,
    666                  * but either insist that it point to a high segment (NetWare 2.x)
     657                 * but either insist that it points well above 640K (NetWare 2.x)
    667658                 * or wipe out all RAM (286 XENIX 2.1.3/2.2.1).
     659                 *
     660                 * NB: Writing into the F000 segment and storing the FDPT there
     661                 * would also solve some of these problems.
    668662                 */
    669663                i   = inb_cmos(0x12);
     
    673667                    i = inb_cmos(0x19 + device);
    674668
    675                 if (i <= 23) {  // Should be in sync with DevPcBios.cpp
     669                if (i <= 23) {  // Should be in sync with DevPcBios.cpp and orgs.asm
    676670                    fdpt = MK_FP(0xF000, 0xE401);
    677671                    fdpt += i - 1;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette