VirtualBox

Ignore:
Timestamp:
Nov 22, 2024 10:48:00 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166080
Message:

VMM: bugref:10759 Restructure the APIC to allow different backends to be used.

File:
1 edited

Legend:

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

    r106061 r107113  
    3434#include <VBox/apic.h>
    3535#include <VBox/sup.h>
    36 #include <VBox/vmm/pdmdev.h>
     36#include <VBox/vmm/pdmapic.h>
     37#include <VBox/vmm/stam.h>
    3738
    3839/** @defgroup grp_apic_int       Internal
     
    4142 * @{
    4243 */
     44
     45#ifdef VBOX_INCLUDED_vmm_pdmapic_h
     46/** The VirtualBox APIC backend table. */
     47extern const PDMAPICBACKEND g_ApicBackend;
     48#endif
    4349
    4450/** The APIC hardware version we are emulating. */
     
    11561162DECLCALLBACK(VBOXSTRICTRC)    apicReadMmio(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void *pv, unsigned cb);
    11571163DECLCALLBACK(VBOXSTRICTRC)    apicWriteMmio(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS off, void const *pv, unsigned cb);
    1158 
    1159 bool                          apicPostInterrupt(PVMCPUCC pVCpu, uint8_t uVector, XAPICTRIGGERMODE enmTriggerMode, uint32_t uSrcTag);
     1164DECLCALLBACK(bool)            apicPostInterrupt(PVMCPUCC pVCpu, uint8_t uVector, XAPICTRIGGERMODE enmTriggerMode, bool fAutoEoi,
     1165                                                uint32_t uSrcTag);
     1166#ifdef IN_RING3
     1167DECLCALLBACK(int)             apicR3HvSetCompatMode(PVM pVM, bool fHyperVCompatMode);
     1168#endif
    11601169void                          apicStartTimer(PVMCPUCC pVCpu, uint32_t uInitialCount);
    11611170void                          apicClearInterruptFF(PVMCPUCC pVCpu, PDMAPICIRQ enmType);
    1162 void                          apicInitIpi(PVMCPUCC pVCpu);
    11631171void                          apicResetCpu(PVMCPUCC pVCpu, bool fResetApicBaseMsr);
    11641172
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