VirtualBox

Ignore:
Timestamp:
Dec 13, 2024 8:09:39 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166339
Message:

VMM: bugref:10759 Refactor GIC for use with different backends.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/GICInternal.h

    r106419 r107308  
    3434#include <VBox/gic.h>
    3535#include <VBox/vmm/pdmdev.h>
     36#include <VBox/vmm/pdmgic.h>
     37#include <VBox/vmm/stam.h>
    3638
    3739
     
    4143 * @{
    4244 */
     45
     46#ifdef VBOX_INCLUDED_vmm_pdmgic_h
     47/** The VirtualBox GIC backend. */
     48extern const PDMGICBACKEND g_GicBackend;
     49# ifdef RT_OS_DARWIN
     50/** The Hypervisor.Framework GIC backend. */
     51extern const PDMGICBACKEND g_GicHvfBackend;
     52# endif
     53#endif
    4354
    4455#define VMCPU_TO_GICCPU(a_pVCpu)             (&(a_pVCpu)->gic.s)
     
    103114    /** The ring-3 device instance. */
    104115    PPDMDEVINSR3                pDevInsR3;
    105     /** Flag whether the in-kernel (KVM/Hyper-V) GIC of the NEM backend is used. */
    106     bool                        fNemGic;
    107116} GIC;
    108117/** Pointer to GIC VM instance data. */
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