VirtualBox

Changeset 39589 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Dec 12, 2011 6:05:56 PM (13 years ago)
Author:
vboxsync
Message:

Undid previous change.

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  
    120120#define AHCI_REG_PORT_IS   0x10
    121121# define AHCI_REG_PORT_IS_DHRS RT_BIT_32(0)
    122 # define AHCI_REG_PORT_IS_TFES RT_BIT_32(30)
    123122#define AHCI_REG_PORT_IE   0x14
    124123#define AHCI_REG_PORT_CMD  0x18
     
    259258        DBG_AHCI("AHCI: Waiting for D2H FIS\n");
    260259        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)
    262261        {
    263262            // This is where we'd need some kind of a yield functionality...
     
    507506    bios_dsk->drqp.lba     = (uint32_t)length << 8;     //@todo: xfer length limit
    508507    bios_dsk->drqp.buffer  = buffer;
    509     bios_dsk->drqp.nsect   = length / bios_dsk->drqp.sect_sz;
     508//    bios_dsk->drqp.nsect   = length / 2048;
    510509//    bios_dsk->drqp.sect_sz = 2048;
    511510
  • trunk/src/VBox/Devices/PC/BIOS-new/biosint.h

    r39588 r39589  
    5252
    5353#define DEBUG_ATA       0
    54 #define DEBUG_AHCI      1
    55 #define DEBUG_CD_BOOT   1
    56 #define DEBUG_ELTORITO  1
     54#define DEBUG_AHCI      0
     55#define DEBUG_CD_BOOT   0
     56#define DEBUG_ELTORITO  0
    5757#define DEBUG_INT13_HD  0
    5858#define DEBUG_INT13_FL  0
    59 #define DEBUG_INT13_CD  1
     59#define DEBUG_INT13_CD  0
    6060#define DEBUG_INT15     0
    6161#define DEBUG_INT15_MS  0
  • trunk/src/VBox/Devices/PC/BIOS-new/pcibios.inc

    r39588 r39589  
    367367                jz      next_pci_dev
    368368
    369 ;;ifndef VBOX ; This currently breaks restoring a previously saved state. */
     369ifndef VBOX ; This currently breaks restoring a previously saved state. */
    370370                mov     dl, 4   ; disable i/o and memory space access
    371371                call    pcibios_init_sel_reg
     
    422422                mov     byte ptr[bp-8], al
    423423                jmp     pci_init_io_loop2
    424 ;;endif ; !VBOX
     424endif ; !VBOX
    425425
    426426enable_iomem_space:
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