- Timestamp:
- Apr 8, 2015 2:31:27 PM (10 years ago)
- Location:
- trunk/src/VBox/Devices/PC/BIOS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/boot.c
r55136 r55137 255 255 #endif // BX_ELTORITO_BOOT 256 256 257 // Sanity check on the LAN boot seg macro258 //#if VBOX_LANBOOT_SEG == 0259 //#error Invalid VBOX_LANBOOT_SEG definition!260 //#endif261 262 257 // Check for boot from LAN first 263 258 if (bootlan == 1) { -
trunk/src/VBox/Devices/PC/BIOS/floppy.c
r55136 r55137 82 82 uint8_t floppy_wait_for_interrupt(void) 83 83 { 84 uint32_t retries = 18;85 86 84 int_disable(); 87 for (; retries;--retries)85 for (;;) 88 86 { 89 87 uint8_t val8 = read_byte(0x0040, 0x003e); … … 92 90 int_enable_hlt_disable(); 93 91 } 94 return 0;95 92 } 96 93 … … 178 175 // wait on 40:3e bit 7 to become 1 179 176 do { 180 val8 = inb(0x80);181 177 val8 = read_byte(0x0040, 0x003e); 182 } while ( (val8 & 0x80) == 0 && --retries);178 } while ( (val8 & 0x80) == 0 ); 183 179 val8 &= 0x7f; 184 180 int_disable(); -
trunk/src/VBox/Devices/PC/BIOS/orgs.asm
r55136 r55137 1820 1820 include smidmi.inc 1821 1821 1822 BIOSORG 0FFE8h1823 dw 3330h1824 1825 1822 ;; -------------------------------------------------------- 1826 1823 ;; Processor reset entry point -
trunk/src/VBox/Devices/PC/BIOS/post.c
r55136 r55137 100 100 } 101 101 } 102 outb_cmos(0x12, 0x20);103 102 } -
trunk/src/VBox/Devices/PC/BIOS/scsi.c
r55136 r55137 429 429 | ((uint32_t)buffer[2] << 8) 430 430 | ((uint32_t)buffer[3]); 431 ++sectors; /* Returned value is the last LBA, zero-based. */432 431 433 432 sector_size = ((uint32_t)buffer[4] << 24)
Note:
See TracChangeset
for help on using the changeset viewer.