VirtualBox

Changeset 104386 in vbox for trunk/include


Ignore:
Timestamp:
Apr 20, 2024 7:05:54 PM (9 months ago)
Author:
vboxsync
Message:

VMM/GIC: Add a dedicated GIC device implementation for linux.arm64 which interfaces with the in-kernel KVM GIC device emulation, bugref:10391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/gic.h

    r99734 r104386  
    5252#ifdef VBOX_INCLUDED_vmm_pdmdev_h
    5353extern const PDMDEVREG g_DeviceGIC;
     54# ifdef RT_OS_LINUX
     55extern const PDMDEVREG g_DeviceGICKvm;
     56# endif
    5457#endif
    5558
     
    6770VMMR3_INT_DECL(int)         GICR3RegisterDevice(struct PDMDEVREGCB *pCallbacks);
    6871VMMR3_INT_DECL(void)        GICR3InitIpi(PVMCPU pVCpu);
     72
     73# ifdef RT_OS_LINUX
     74/* Access to the in-kernel KVM GICv3. */
     75VMMR3_INT_DECL(int)         GICR3KvmSpiSet(PVMCC pVM, uint32_t uIntId, bool fAsserted);
     76VMMR3_INT_DECL(int)         GICR3KvmPpiSet(PVMCPUCC pVCpu, uint32_t uIntId, bool fAsserted);
     77# endif
    6978/** @} */
    7079#endif /* IN_RING3 */
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