Changeset 54763 in vbox for trunk/include
- Timestamp:
- Mar 15, 2015 3:15:58 AM (10 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r54738 r54763 1280 1280 1281 1281 # if defined(VBOX_WITH_RAW_MODE) || defined(DOXYGEN_RUNNING) 1282 /** @name APIs for the CPUID raw-mode patch .1282 /** @name APIs for the CPUID raw-mode patch (legacy). 1283 1283 * @{ */ 1284 1284 VMMR3_INT_DECL(RCPTRTYPE(PCCPUMCPUID)) CPUMR3GetGuestCpuIdPatmDefRCPtr(PVM pVM); 1285 VMMR3_INT_DECL(RCPTRTYPE(PCCPUMCPUIDLEAF)) CPUMR3GetGuestCpuIdPatmArrayRCPtr(PVM pVM);1286 VMMR3_INT_DECL(RCPTRTYPE(PCCPUMCPUIDLEAF)) CPUMR3GetGuestCpuIdPatmArrayEndRCPtr(PVM pVM);1287 VMMR3_INT_DECL(CPUMUNKNOWNCPUID) CPUMR3GetGuestCpuIdPatmUnknownLeafMethod(PVM pVM);1288 /* Legacy: */1289 1285 VMMR3_INT_DECL(uint32_t) CPUMR3GetGuestCpuIdPatmStdMax(PVM pVM); 1290 1286 VMMR3_INT_DECL(uint32_t) CPUMR3GetGuestCpuIdPatmExtMax(PVM pVM); -
trunk/include/VBox/vmm/patm.h
r53615 r54763 141 141 #define PATMIsEnabled(a_pVM) ((a_pVM)->fPATMEnabled) 142 142 143 VMMDECL(bool) PATMIsPatchGCAddr(PVM pVM, RTRCUINTPTR pAddr); 143 VMMDECL(bool) PATMIsPatchGCAddr(PVM pVM, RTRCUINTPTR uGCAddr); 144 VMMDECL(bool) PATMIsPatchGCAddrExclHelpers(PVM pVM, RTRCUINTPTR uGCAddr); 144 145 VMM_INT_DECL(int) PATMReadPatchCode(PVM pVM, RTGCPTR GCPtrPatchCode, void *pvDst, size_t cbToRead, size_t *pcbRead); 145 146 … … 182 183 VMMR3_INT_DECL(int) PATMR3Init(PVM pVM); 183 184 VMMR3_INT_DECL(int) PATMR3InitFinalize(PVM pVM); 184 VMMR3_INT_DECL(void) PATMR3Relocate(PVM pVM );185 VMMR3_INT_DECL(void) PATMR3Relocate(PVM pVM, RTRCINTPTR offDelta); 185 186 VMMR3_INT_DECL(int) PATMR3Term(PVM pVM); 186 187 VMMR3_INT_DECL(int) PATMR3Reset(PVM pVM); 187 188 188 VMMR3_INT_DECL(void *) PATMR3QueryPatchMemHC(PVM pVM, uint32_t *pcb);189 VMMR3_INT_DECL(RTRCPTR) PATMR3QueryPatchMemGC(PVM pVM, uint32_t *pcb);190 189 VMMR3_INT_DECL(bool) PATMR3IsInsidePatchJump(PVM pVM, RTRCPTR pAddr, PRTGCPTR32 pPatchAddr); 191 190 VMMR3_INT_DECL(RTRCPTR) PATMR3QueryPatchGCPtr(PVM pVM, RTRCPTR pAddrGC); 192 VMMR3_INT_DECL(bool) PATMR3IsPatchHCAddr(PVM pVM, void *pAddrHC);193 191 VMMR3_INT_DECL(void *) PATMR3GCPtrToHCPtr(PVM pVM, RTRCPTR pAddrGC); 194 192 VMMR3_INT_DECL(PPATMGCSTATE) PATMR3QueryGCStateHC(PVM pVM); -
trunk/include/iprt/asmdefs.mac
r54713 r54763 199 199 200 200 ;; 201 ; Gets the pointer to an imported object. 202 %ifdef ASM_FORMAT_PE 203 %ifdef RT_ARCH_AMD64 204 %define IMP_SEG(SegOverride, name) qword [SegOverride:IMPNAME(name) wrt rip] 205 %else 206 %define IMP_SEG(SegOverride, name) dword [SegOverride:IMPNAME(name)] 207 %endif 208 %else 209 %define IMP_SEG(SegOverride, name) IMPNAME(name) 210 %endif 211 212 ;; 201 213 ; Declares an imported object for use with IMP2. 202 214 ; @note May change the current section!
Note:
See TracChangeset
for help on using the changeset viewer.