VirtualBox

Changeset 45791 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Apr 28, 2013 4:12:00 PM (12 years ago)
Author:
vboxsync
Message:

BIOS: Added dummy controller reset function to avoid potential crashes.

File:
1 edited

Legend:

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

    r44692 r45791  
    109109};
    110110
     111#if defined(VBOX_WITH_AHCI) || defined(VBOX_WITH_SCSI)
     112uint16_t dummy_soft_reset(uint16_t device_id)
     113{
     114    return 0;
     115}
     116#endif
     117
    111118/* Generic reset routine signature. */
    112119typedef uint16_t (* cd_rst_func)(uint16_t device_id);
     
    116123    [DSK_TYPE_ATAPI]  = { ata_soft_reset },
    117124#ifdef VBOX_WITH_AHCI
    118     [DSK_TYPE_AHCI]   = NULL,
     125    [DSK_TYPE_AHCI]   = { dummy_soft_reset },
    119126#endif
    120127#ifdef VBOX_WITH_SCSI
    121     [DSK_TYPE_SCSI]   = NULL,
     128    [DSK_TYPE_SCSI]   = { dummy_soft_reset },
    122129#endif
    123130};
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