VirtualBox

Changeset 81505 in vbox for trunk/src/VBox/Devices/EFI


Ignore:
Timestamp:
Oct 24, 2019 2:51:11 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134233
Message:

DevEFI: Enabled non-ring-3 MMIO handlers for the NVRAM flash. bugref:6940

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r81504 r81505  
    16841684
    16851685#endif /* IN_RING3 */
    1686 #ifdef IN_RING3 /* for now */
    16871686
    16881687/**
     
    17091708}
    17101709
    1711 #endif
    17121710#ifdef IN_RING3
    17131711
     
    26872685{
    26882686    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    2689     PDEVEFI   pThis  = PDMINS_2_DATA(pDevIns, PDEVEFI);
    2690 
    2691 # if 0
     2687    PDEVEFI pThis = PDMINS_2_DATA(pDevIns, PDEVEFI);
     2688
     2689# if 1
    26922690    int rc = PDMDevHlpMmioSetUpContext(pDevIns, pThis->hMmioFlash, efiR3NvMmioWrite, efiR3NvMmioRead, NULL /*pvUser*/);
    26932691    AssertRCReturn(rc, rc);
    26942692# else
    2695     RT_NOREF(pDevIns, pThis);
     2693    RT_NOREF(pDevIns, pThis); (void)&efiR3NvMmioRead; (void)&efiR3NvMmioWrite;
    26962694# endif
    26972695
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