VirtualBox

Ignore:
Timestamp:
Nov 22, 2024 10:48:00 AM (4 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/VMMAll/CPUMAllMsrs.cpp

    r106061 r107113  
    3232#define LOG_GROUP LOG_GROUP_CPUM
    3333#include <VBox/vmm/cpum.h>
    34 #include <VBox/vmm/apic.h>
     34#include <VBox/vmm/pdmapic.h>
    3535#include <VBox/vmm/hm.h>
    3636#include <VBox/vmm/hm_vmx.h>
     
    235235{
    236236    RT_NOREF_PV(idMsr); RT_NOREF_PV(pRange);
    237     return APICGetBaseMsr(pVCpu, puValue);
     237    return PDMApicGetBaseMsr(pVCpu, puValue);
    238238}
    239239
     
    243243{
    244244    RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(pRange); RT_NOREF_PV(uValue); RT_NOREF_PV(uRawValue);
    245     return APICSetBaseMsr(pVCpu, uValue);
     245    return PDMApicSetBaseMsr(pVCpu, uValue);
    246246}
    247247
     
    13471347    }
    13481348#endif
    1349     return APICReadMsr(pVCpu, idMsr, puValue);
     1349    return PDMApicReadMsr(pVCpu, idMsr, puValue);
    13501350}
    13511351
     
    13671367    }
    13681368#endif
    1369     return APICWriteMsr(pVCpu, idMsr, uValue);
     1369    return PDMApicWriteMsr(pVCpu, idMsr, uValue);
    13701370}
    13711371
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette