VirtualBox

Changeset 55137 in vbox for trunk


Ignore:
Timestamp:
Apr 8, 2015 2:31:27 PM (10 years ago)
Author:
vboxsync
Message:

Undid accidental commit.

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

Legend:

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

    r55136 r55137  
    255255#endif // BX_ELTORITO_BOOT
    256256
    257 // Sanity check on the LAN boot seg macro
    258 //#if VBOX_LANBOOT_SEG == 0
    259 //#error Invalid VBOX_LANBOOT_SEG definition!
    260 //#endif
    261 
    262257    // Check for boot from LAN first
    263258    if (bootlan == 1) {
  • trunk/src/VBox/Devices/PC/BIOS/floppy.c

    r55136 r55137  
    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/orgs.asm

    r55136 r55137  
    18201820include smidmi.inc
    18211821
    1822                 BIOSORG 0FFE8h
    1823                 dw      3330h
    1824 
    18251822;; --------------------------------------------------------
    18261823;; Processor reset entry point
  • trunk/src/VBox/Devices/PC/BIOS/post.c

    r55136 r55137  
    100100        }
    101101    }
    102     outb_cmos(0x12, 0x20);
    103102}
  • trunk/src/VBox/Devices/PC/BIOS/scsi.c

    r55136 r55137  
    429429                          | ((uint32_t)buffer[2] << 8)
    430430                          | ((uint32_t)buffer[3]);
    431                 ++sectors;  /* Returned value is the last LBA, zero-based. */
    432431
    433432                sector_size =   ((uint32_t)buffer[4] << 24)
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