VirtualBox

Changeset 71423 in vbox


Ignore:
Timestamp:
Mar 21, 2018 11:24:32 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121390
Message:

BIOS: Reduce harmless warnings for unsupported INT 15h functions.

Location:
trunk/src/VBox/Devices/PC/BIOS
Files:
3 edited

Legend:

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

    r69501 r71423  
    552552                    fdpt = ebda_seg :> &EbdaData->fdpt1;
    553553
     554                fdpt = MK_FP(0xE200, 0xf00);
     555                fdpt += device;
     556
    554557                /* Set the INT 41h or 46h pointer. */
    555558                int_vec  = MK_FP(0, (0x41 + device * 5) * sizeof(void __far *));
     
    560563                 * isn't worth the effort of converting from AMI to Award CMOS
    561564                 * format. Just do it here. */
     565                _fmemset(fdpt, 0, sizeof(*fdpt));
    562566                fdpt->lcyl  = lgeo.cylinders;
    563567                fdpt->lhead = lgeo.heads;
  • trunk/src/VBox/Devices/PC/BIOS/makefile

    r67889 r71423  
    1919CFLAGS   = -q -0 -wx -zu -s -oas -d1+ -ms
    2020CFLAGS32 = -q -wx -zu -s -oas -d1+ -ms -nt=BIOS32 -nd=BIOS32
     21# -oat seems to prevent ENTER/LEAVE generation
     22#CFLAGS32 = -q -wx -zu -s -oat -d1+ -ms -nt=BIOS32 -nd=BIOS32
    2123
    2224DEFS = -DVBOX -DVBOX_LANBOOT_SEG=0xE200 -DVBOX_VERSION_STRING=$(Q)0.9$(Q) &
     
    5355         clname DATA segaddr=0xF000 segment _DATA &
    5456         clname CODE &
    55          segment _TEXT segaddr=0xF000 offset=0x1600 &
     57         segment _TEXT segaddr=0xF000 offset=0x1C00 &
    5658         segment BIOS32 segaddr=0xF000 offset=0xDB00 &
    5759         segment BIOSSEG segaddr=0xF000 offset=0xE000 &
  • trunk/src/VBox/Devices/PC/BIOS/system.c

    r71422 r71423  
    409409        break;
    410410
    411     case 0x41:
     411        /* These are here just to avoid warnings being logged. */
     412    case 0x22:  /* Locate ROM BASIC (tough when we don't have any.) */
     413    case 0x41:  /* PC Convertible, wait for external events. */
     414    case 0xC7:  /* PS/2, get memory map. */
    412415        SET_CF();
    413416        SET_AH(UNSUPPORTED_FUNCTION);
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