VirtualBox

Changeset 59115 in vbox


Ignore:
Timestamp:
Dec 14, 2015 1:50:06 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104686
Message:

Undoing unintentional commits.

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

Legend:

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

    r59114 r59115  
    8282uint8_t floppy_wait_for_interrupt(void)
    8383{
    84     uint32_t    retries = 18;
    85 
    8684    int_disable();
    87     for (;retries;--retries)
     85    for (;;)
    8886    {
    8987        uint8_t val8 = read_byte(0x0040, 0x003e);
     
    9290        int_enable_hlt_disable();
    9391    }
    94     return 0;
    9592}
    9693
     
    178175        // wait on 40:3e bit 7 to become 1
    179176        do {
    180             val8 = inb(0x80);
    181177            val8 = read_byte(0x0040, 0x003e);
    182         } while ( (val8 & 0x80) == 0 && --retries);
     178        } while ( (val8 & 0x80) == 0 );
    183179        val8 &= 0x7f;
    184180        int_disable();
  • trunk/src/VBox/Devices/PC/BIOS/makefile

    r59114 r59115  
    1616CFLAGS   = -q -0 -wx -zu -s -oas -d1+ -ms
    1717CFLAGS32 = -q -wx -zu -s -oas -d1+ -ms -nt=BIOS32 -nd=BIOS32
    18 # -oat seems to prevent ENTER/LEAVE generation
    19 #CFLAGS32 = -q -wx -zu -s -oat -d1+ -ms -nt=BIOS32 -nd=BIOS32
    2018
    2119DEFS = -DVBOX -DVBOX_LANBOOT_SEG=0xE200 -DVBOX_VERSION_STRING=$(Q)0.9$(Q) &
     
    4745         clname DATA segaddr=0xF000 segment _DATA &
    4846         clname CODE &
    49          segment _TEXT segaddr=0xF000 offset=0x1C00 &
     47         segment _TEXT segaddr=0xF000 offset=0x1600 &
    5048         segment BIOS32 segaddr=0xF000 offset=0xDB00 &
    5149         segment BIOSSEG segaddr=0xF000 offset=0xE000 &
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