VirtualBox

Ignore:
Timestamp:
Sep 28, 2020 11:13:06 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Linux build fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp

    r86256 r86313  
    477477
    478478
     479#if 0
    479480/**
    480481 * Gets the number of (unconsumed) commands in the command buffer.
     
    493494    return cMaxCmds - idxHead + idxTail;
    494495}
     496#endif
    495497
    496498
     
    20922094}
    20932095
    2094 
     2096#if 0
    20952097/**
    20962098 * Clears the MSI interrupt for the IOMMU device.
     
    21062108        PDMDevHlpPCISetIrq(pDevIns, 0, PDM_IRQ_LEVEL_LOW);
    21072109}
    2108 
     2110#endif
    21092111
    21102112/**
     
    22562258
    22572259
     2260#ifdef IN_RING3
    22582261/**
    22592262 * Initializes a COMMAND_HARDWARE_ERROR event.
     
    22952298    LogFunc(("Raised COMMAND_HARDWARE_ERROR. GCPhysCmd=%#RGp u2Type=%u\n", pEvtCmdHwErr->n.u64Addr, pEvtCmdHwErr->n.u2Type));
    22962299}
     2300#endif /* IN_RING3 */
    22972301
    22982302
     
    23482352}
    23492353
    2350 
     2354#ifdef IN_RING3
    23512355/**
    23522356 * Initializes an ILLEGAL_COMMAND_ERROR event.
     
    23862390    LogFunc(("Raised ILLEGAL_COMMAND_ERROR. Addr=%#RGp\n", pEvtIllegalCmd->n.u64Addr));
    23872391}
     2392#endif  /* IN_RING3 */
    23882393
    23892394
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