Changeset 39588 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Dec 12, 2011 6:01:33 PM (13 years ago)
- Location:
- trunk/src/VBox/Devices/PC/BIOS-new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/ahci.c
r39583 r39588 120 120 #define AHCI_REG_PORT_IS 0x10 121 121 # define AHCI_REG_PORT_IS_DHRS RT_BIT_32(0) 122 # define AHCI_REG_PORT_IS_TFES RT_BIT_32(30) 122 123 #define AHCI_REG_PORT_IE 0x14 123 124 #define AHCI_REG_PORT_CMD 0x18 … … 258 259 DBG_AHCI("AHCI: Waiting for D2H FIS\n"); 259 260 while (ahci_ctrl_is_bit_set(io_base, AHCI_PORT_REG(port, AHCI_REG_PORT_IS), 260 AHCI_REG_PORT_IS_DHRS ) == 0)261 AHCI_REG_PORT_IS_DHRS | AHCI_REG_PORT_IS_TFES) == 0) 261 262 { 262 263 // This is where we'd need some kind of a yield functionality... … … 506 507 bios_dsk->drqp.lba = (uint32_t)length << 8; //@todo: xfer length limit 507 508 bios_dsk->drqp.buffer = buffer; 508 // bios_dsk->drqp.nsect = length / 2048;509 bios_dsk->drqp.nsect = length / bios_dsk->drqp.sect_sz; 509 510 // bios_dsk->drqp.sect_sz = 2048; 510 511 -
trunk/src/VBox/Devices/PC/BIOS-new/biosint.h
r39583 r39588 52 52 53 53 #define DEBUG_ATA 0 54 #define DEBUG_AHCI 055 #define DEBUG_CD_BOOT 056 #define DEBUG_ELTORITO 054 #define DEBUG_AHCI 1 55 #define DEBUG_CD_BOOT 1 56 #define DEBUG_ELTORITO 1 57 57 #define DEBUG_INT13_HD 0 58 58 #define DEBUG_INT13_FL 0 59 #define DEBUG_INT13_CD 059 #define DEBUG_INT13_CD 1 60 60 #define DEBUG_INT15 0 61 61 #define DEBUG_INT15_MS 0 -
trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc
r38890 r39588 367 367 jz next_pci_dev 368 368 369 ifndef VBOX ; This currently breaks restoring a previously saved state. */369 ;;ifndef VBOX ; This currently breaks restoring a previously saved state. */ 370 370 mov dl, 4 ; disable i/o and memory space access 371 371 call pcibios_init_sel_reg … … 422 422 mov byte ptr[bp-8], al 423 423 jmp pci_init_io_loop2 424 endif ; !VBOX424 ;;endif ; !VBOX 425 425 426 426 enable_iomem_space:
Note:
See TracChangeset
for help on using the changeset viewer.