VirtualBox

Ignore:
Timestamp:
Feb 5, 2010 1:45:22 PM (15 years ago)
Author:
vboxsync
Message:

DevATA: Initializers... wonder if all compilers will like this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r26173 r26285  
    684684
    685685
    686 static const ATARequest g_ataDMARequest = { ATA_AIO_DMA, };
    687 static const ATARequest g_ataPIORequest = { ATA_AIO_PIO, };
    688 static const ATARequest g_ataResetARequest = { ATA_AIO_RESET_ASSERTED, };
    689 static const ATARequest g_ataResetCRequest = { ATA_AIO_RESET_CLEARED, };
    690 
     686static const ATARequest g_ataDMARequest    = { ATA_AIO_DMA,            { { 0, 0, 0, 0, 0 } } };
     687static const ATARequest g_ataPIORequest    = { ATA_AIO_PIO,            { { 0, 0, 0, 0, 0 } } };
     688static const ATARequest g_ataResetARequest = { ATA_AIO_RESET_ASSERTED, { { 0, 0, 0, 0, 0 } } };
     689static const ATARequest g_ataResetCRequest = { ATA_AIO_RESET_CLEARED,  { { 0, 0, 0, 0, 0 } } };
    691690
    692691static void ataAsyncIOClearRequests(PATACONTROLLER pCtl)
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