Changeset 39589 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Dec 12, 2011 6:05:56 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
r39588 r39589 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)123 122 #define AHCI_REG_PORT_IE 0x14 124 123 #define AHCI_REG_PORT_CMD 0x18 … … 259 258 DBG_AHCI("AHCI: Waiting for D2H FIS\n"); 260 259 while (ahci_ctrl_is_bit_set(io_base, AHCI_PORT_REG(port, AHCI_REG_PORT_IS), 261 AHCI_REG_PORT_IS_DHRS | AHCI_REG_PORT_IS_TFES) == 0)260 AHCI_REG_PORT_IS_DHRS) == 0) 262 261 { 263 262 // This is where we'd need some kind of a yield functionality... … … 507 506 bios_dsk->drqp.lba = (uint32_t)length << 8; //@todo: xfer length limit 508 507 bios_dsk->drqp.buffer = buffer; 509 bios_dsk->drqp.nsect = length / bios_dsk->drqp.sect_sz;508 // bios_dsk->drqp.nsect = length / 2048; 510 509 // bios_dsk->drqp.sect_sz = 2048; 511 510 -
trunk/src/VBox/Devices/PC/BIOS-new/biosint.h
r39588 r39589 52 52 53 53 #define DEBUG_ATA 0 54 #define DEBUG_AHCI 155 #define DEBUG_CD_BOOT 156 #define DEBUG_ELTORITO 154 #define DEBUG_AHCI 0 55 #define DEBUG_CD_BOOT 0 56 #define DEBUG_ELTORITO 0 57 57 #define DEBUG_INT13_HD 0 58 58 #define DEBUG_INT13_FL 0 59 #define DEBUG_INT13_CD 159 #define DEBUG_INT13_CD 0 60 60 #define DEBUG_INT15 0 61 61 #define DEBUG_INT15_MS 0 -
trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc
r39588 r39589 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.