VirtualBox

Changeset 106058 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 16, 2024 10:30:47 AM (3 months ago)
Author:
vboxsync
Message:

BIOS: Re-fixed AHCI debugging code.

File:
1 edited

Legend:

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

    r106051 r106058  
    354354    int             i;
    355355
     356    DBG_AHCI("AHCI: Data block at %04X:%04X\n", FP_SEG(ahci), FP_OFF(ahci));
    356357    _fmemset(&ahci->abCmd[0], 0, sizeof(ahci->abCmd));
    357358
     
    495496
    496497    DBG_AHCI("AHCI: FIS receive area %lx from %x:%x\n",
    497              ahci_addr_to_phys(&ahci->abFisRecv), FP_SEG(ahci->abFisRecv), FP_OFF(ahci->abFisRecv));
     498             ahci_addr_to_phys(&ahci->abFisRecv), FP_SEG(&ahci->abFisRecv), FP_OFF(&ahci->abFisRecv));
    498499    VBOXAHCI_PORT_WRITE_REG(ahci->iobase, u8Port, AHCI_REG_PORT_FB, ahci_addr_to_phys(&ahci->abFisRecv));
    499500    VBOXAHCI_PORT_WRITE_REG(ahci->iobase, u8Port, AHCI_REG_PORT_FBU, 0);
     
    856857             ahci_ctrl_extract_bits(val, 0x0000ffff,  0));
    857858
    858     DBG_AHCI("AHCI: ahci_seg=%04x, size=%04x, pointer at EBDA:%04x (EBDA size=%04x)\n",
    859              ahci_seg, sizeof(ahci_t), (uint16_t)&EbdaData->bdisk.ahci_seg, sizeof(ebda_data_t));
    860 
    861859    bios_dsk->ahci_seg    = ahci_seg;
    862860    bios_dsk->ahci_devcnt = 0;
     861
     862    DBG_AHCI("AHCI: ahci_seg=%04x, size=%04x, pointer at EBDA:%04x (EBDA size=%04x)\n",
     863             bios_dsk->ahci_seg, sizeof(ahci_t), (uint16_t)&EbdaData->bdisk.ahci_seg, sizeof(ebda_data_t));
    863864
    864865    ahci = ahci_seg :> 0;
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