Changeset 76402 in vbox
- Timestamp:
- Dec 23, 2018 3:13:04 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127701
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/apic.h
r75300 r76402 27 27 #define ___VBox_vmm_apic_h 28 28 29 #include <VBox/ vmm/pdmins.h>30 #include <VBox/vmm/pdmdev.h> 29 #include <VBox/types.h> 30 struct PDMDEVREGCB; 31 31 32 32 /** @defgroup grp_apic The local APIC VMM API … … 158 158 * @{ 159 159 */ 160 VMMR3_INT_DECL(int) APICR3RegisterDevice(struct PDMDEVREGCB *pCallbacks); 160 161 VMMR3_INT_DECL(void) APICR3InitIpi(PVMCPU pVCpu); 161 162 VMMR3_INT_DECL(void) APICR3HvEnable(PVM pVM); … … 201 202 RT_C_DECLS_END 202 203 203 extern const PDMDEVREG g_DeviceAPIC;204 204 /** @} */ 205 205 -
trunk/include/VBox/vmm/pdmdev.h
r75534 r76402 29 29 #include <VBox/vmm/pdmqueue.h> 30 30 #include <VBox/vmm/pdmcritsect.h> 31 #include <VBox/vmm/pdmthread.h> 31 #ifdef IN_RING3 32 # include <VBox/vmm/pdmthread.h> 33 #endif 32 34 #include <VBox/vmm/pdmifs.h> 33 35 #include <VBox/vmm/pdmins.h> … … 39 41 #include <VBox/vmm/cfgm.h> 40 42 #include <VBox/vmm/dbgf.h> 41 #include <VBox/err.h> 42 #include <VBox/pci.h> 43 #include <VBox/sup.h> 43 #include <VBox/err.h> /* VINF_EM_DBG_STOP */ 44 44 #include <iprt/stdarg.h> 45 45 -
trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp
r75759 r76402 27 27 #include <VBox/vmm/iem.h> 28 28 #include <VBox/vmm/vm.h> 29 30 #include <VBox/err.h> 29 31 30 32 -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r76011 r76402 35 35 #include "HMInternal.h" 36 36 #include <VBox/vmm/vm.h> 37 #include <VBox/err.h> 37 38 #include "HMSVMR0.h" 38 39 #include "dtrace/VBoxVMM.h" -
trunk/src/VBox/VMM/VMMR3/APIC.cpp
r73281 r76402 1670 1670 * APIC device registration structure. 1671 1671 */ 1672 const PDMDEVREG g_DeviceAPIC =1672 static const PDMDEVREG g_DeviceAPIC = 1673 1673 { 1674 1674 /* u32Version */ … … 1723 1723 }; 1724 1724 1725 1726 /** 1727 * Called by PDM to register the APIC device. 1728 */ 1729 VMMR3_INT_DECL(int) APICR3RegisterDevice(PPDMDEVREGCB pCallbacks) 1730 { 1731 return pCallbacks->pfnRegister(pCallbacks, &g_DeviceAPIC); 1732 } 1733 1725 1734 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 1726 1735 -
trunk/src/VBox/VMM/VMMR3/EM.cpp
r75997 r76402 67 67 #include <VBox/dis.h> 68 68 #include <VBox/disopcode.h> 69 #include <VBox/err.h> 69 70 #include "VMMTracing.h" 70 71 -
trunk/src/VBox/VMM/VMMR3/GIMHv.cpp
r73389 r76402 32 32 #include <VBox/vmm/vm.h> 33 33 34 #include <VBox/err.h> 34 35 #include <VBox/version.h> 35 36 36 37 #include <iprt/assert.h> 37 #include <iprt/err.h>38 38 #include <iprt/string.h> 39 39 #include <iprt/mem.h> -
trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
r73097 r76402 495 495 * Load the internal VMM APIC device. 496 496 */ 497 int rc 2 = pdmR3DevReg_Register(&RegCB.Core, &g_DeviceAPIC);498 AssertRCReturn(rc 2, rc2);497 int rc = APICR3RegisterDevice(&RegCB.Core); 498 AssertRCReturn(rc, rc); 499 499 500 500 /* … … 503 503 PCFGMNODE pDevicesNode = CFGMR3GetChild(CFGMR3GetRoot(pVM), "PDM/Devices"); 504 504 bool fLoadBuiltin; 505 intrc = CFGMR3QueryBool(pDevicesNode, "LoadBuiltin", &fLoadBuiltin);505 rc = CFGMR3QueryBool(pDevicesNode, "LoadBuiltin", &fLoadBuiltin); 506 506 if (rc == VERR_CFGM_VALUE_NOT_FOUND || rc == VERR_CFGM_NO_PARENT) 507 507 fLoadBuiltin = true; -
trunk/src/VBox/VMM/include/APICInternal.h
r73285 r76402 22 22 #include <VBox/types.h> 23 23 #include <VBox/vmm/apic.h> 24 #include <VBox/vmm/pdmdev.h> 24 25 25 26 /** @defgroup grp_apic_int Internal
Note:
See TracChangeset
for help on using the changeset viewer.