Changeset 44399 in vbox for trunk/src/VBox/Debugger/testcase/tstDBGCStubs.cpp
- Timestamp:
- Jan 27, 2013 9:12:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/testcase/tstDBGCStubs.cpp
r42165 r44399 23 23 24 24 #include <VBox/vmm/dbgf.h> 25 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromFlat(P VM pVM, PDBGFADDRESS pAddress, RTGCUINTPTR FlatPtr)26 { 27 return NULL; 28 } 29 30 VMMR3DECL(int) DBGFR3AddrFromSelOff(P VM pVM, VMCPUID idCpu, PDBGFADDRESS pAddress, RTSEL Sel, RTUINTPTR off)25 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromFlat(PUVM pUVM, PDBGFADDRESS pAddress, RTGCUINTPTR FlatPtr) 26 { 27 return NULL; 28 } 29 30 VMMR3DECL(int) DBGFR3AddrFromSelOff(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, RTSEL Sel, RTUINTPTR off) 31 31 { 32 32 /* bad:bad -> provke error during parsing. */ … … 42 42 } 43 43 44 VMMR3DECL(int) DBGFR3AddrToPhys(PVM pVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTGCPHYS pGCPhys) 45 { 46 return VERR_INTERNAL_ERROR; 47 } 48 49 VMMR3DECL(int) DBGFR3AddrToHostPhys(PVMCPU pVCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys) 50 { 51 return VERR_INTERNAL_ERROR; 52 } 53 54 VMMR3DECL(int) DBGFR3AddrToVolatileR3Ptr(PVMCPU pVCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr) 55 { 56 return VERR_INTERNAL_ERROR; 57 } 58 59 VMMR3DECL(int) DBGFR3Attach(PVM pVM) 60 { 61 return VERR_INTERNAL_ERROR; 62 } 63 64 VMMR3DECL(int) DBGFR3BpClear(PVM pVM, RTUINT iBp) 65 { 66 return VERR_INTERNAL_ERROR; 67 } 68 VMMR3DECL(int) DBGFR3BpDisable(PVM pVM, RTUINT iBp) 69 { 70 return VERR_INTERNAL_ERROR; 71 } 72 VMMR3DECL(int) DBGFR3BpEnable(PVM pVM, RTUINT iBp) 73 { 74 return VERR_INTERNAL_ERROR; 75 } 76 VMMR3DECL(int) DBGFR3BpEnum(PVM pVM, PFNDBGFBPENUM pfnCallback, void *pvUser) 77 { 78 return VERR_INTERNAL_ERROR; 79 } 80 VMMR3DECL(int) DBGFR3BpSet(PVM pVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp) 81 { 82 return VERR_INTERNAL_ERROR; 83 } 84 VMMR3DECL(int) DBGFR3BpSetReg(PVM pVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, 44 VMMR3DECL(int) DBGFR3AddrToPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTGCPHYS pGCPhys) 45 { 46 return VERR_INTERNAL_ERROR; 47 } 48 49 VMMR3DECL(int) DBGFR3Attach(PUVM pUVM) 50 { 51 return VERR_INTERNAL_ERROR; 52 } 53 54 VMMR3DECL(int) DBGFR3BpClear(PUVM pUVM, RTUINT iBp) 55 { 56 return VERR_INTERNAL_ERROR; 57 } 58 VMMR3DECL(int) DBGFR3BpDisable(PUVM pUVM, RTUINT iBp) 59 { 60 return VERR_INTERNAL_ERROR; 61 } 62 VMMR3DECL(int) DBGFR3BpEnable(PUVM pUVM, RTUINT iBp) 63 { 64 return VERR_INTERNAL_ERROR; 65 } 66 VMMR3DECL(int) DBGFR3BpEnum(PUVM pUVM, PFNDBGFBPENUM pfnCallback, void *pvUser) 67 { 68 return VERR_INTERNAL_ERROR; 69 } 70 VMMR3DECL(int) DBGFR3BpSet(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp) 71 { 72 return VERR_INTERNAL_ERROR; 73 } 74 VMMR3DECL(int) DBGFR3BpSetReg(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, 85 75 uint8_t fType, uint8_t cb, PRTUINT piBp) 86 76 { 87 77 return VERR_INTERNAL_ERROR; 88 78 } 89 VMMR3DECL(int) DBGFR3BpSetREM(P VM pVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp)90 { 91 return VERR_INTERNAL_ERROR; 92 } 93 VMMR3DECL(bool) DBGFR3CanWait(P VM pVM)79 VMMR3DECL(int) DBGFR3BpSetREM(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp) 80 { 81 return VERR_INTERNAL_ERROR; 82 } 83 VMMR3DECL(bool) DBGFR3CanWait(PUVM pUVM) 94 84 { 95 85 return true; 96 86 } 97 VMMR3DECL(int) DBGFR3Detach(P VM pVM)98 { 99 return VERR_INTERNAL_ERROR; 100 } 101 VMMR3DECL(int) DBGFR3DisasInstrEx(P VM pVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, uint32_t fFlags,87 VMMR3DECL(int) DBGFR3Detach(PUVM pUVM) 88 { 89 return VERR_INTERNAL_ERROR; 90 } 91 VMMR3DECL(int) DBGFR3DisasInstrEx(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, uint32_t fFlags, 102 92 char *pszOutput, uint32_t cchOutput, uint32_t *pcbInstr) 103 93 { 104 94 return VERR_INTERNAL_ERROR; 105 95 } 106 VMMR3DECL(int) DBGFR3EventWait(P VM pVM, RTMSINTERVAL cMillies, PCDBGFEVENT *ppEvent)107 { 108 return VERR_INTERNAL_ERROR; 109 } 110 VMMR3DECL(int) DBGFR3Halt(P VM pVM)111 { 112 return VERR_INTERNAL_ERROR; 113 } 114 VMMR3DECL(int) DBGFR3Info(P VM pVM, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp)115 { 116 return VERR_INTERNAL_ERROR; 117 } 118 VMMR3DECL(int) DBGFR3InfoEx(P VM pVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp)119 { 120 return VERR_INTERNAL_ERROR; 121 } 122 VMMR3DECL(bool) DBGFR3IsHalted(P VM pVM)96 VMMR3DECL(int) DBGFR3EventWait(PUVM pUVM, RTMSINTERVAL cMillies, PCDBGFEVENT *ppEvent) 97 { 98 return VERR_INTERNAL_ERROR; 99 } 100 VMMR3DECL(int) DBGFR3Halt(PUVM pUVM) 101 { 102 return VERR_INTERNAL_ERROR; 103 } 104 VMMR3DECL(int) DBGFR3Info(PUVM pUVM, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) 105 { 106 return VERR_INTERNAL_ERROR; 107 } 108 VMMR3DECL(int) DBGFR3InfoEx(PUVM pUVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) 109 { 110 return VERR_INTERNAL_ERROR; 111 } 112 VMMR3DECL(bool) DBGFR3IsHalted(PUVM pUVM) 123 113 { 124 114 return true; 125 115 } 126 VMMR3DECL(int) DBGFR3LineByAddr(P VM pVM, RTGCUINTPTR Address, PRTGCINTPTR poffDisplacement, PDBGFLINE pLine)127 { 128 return VERR_INTERNAL_ERROR; 129 } 130 VMMR3DECL(int) DBGFR3LogModifyDestinations(P VM pVM, const char *pszDestSettings)131 { 132 return VERR_INTERNAL_ERROR; 133 } 134 VMMR3DECL(int) DBGFR3LogModifyFlags(P VM pVM, const char *pszFlagSettings)135 { 136 return VERR_INTERNAL_ERROR; 137 } 138 VMMR3DECL(int) DBGFR3LogModifyGroups(P VM pVM, const char *pszGroupSettings)139 { 140 return VERR_INTERNAL_ERROR; 141 } 142 VMMR3DECL(int) DBGFR3ModuleLoad(P VM pVM, const char *pszFilename, RTGCUINTPTR AddressDelta, const char *pszName, RTGCUINTPTR ModuleAddress, unsigned cbImage)143 { 144 return VERR_INTERNAL_ERROR; 145 } 146 VMMR3DECL(int) DBGFR3AsLoadImage(P VM pVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, uint32_t fFlags)147 { 148 return VERR_INTERNAL_ERROR; 149 } 150 VMMR3DECL(int) DBGFR3AsLoadMap(P VM pVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, RTGCUINTPTR uSubtrahend, uint32_t fFlags)151 { 152 return VERR_INTERNAL_ERROR; 153 } 154 VMMR3DECL(RTDBGAS) DBGFR3AsResolveAndRetain(P VM pVM, RTDBGAS hAlias)116 VMMR3DECL(int) DBGFR3LineByAddr(PUVM pUVM, RTGCUINTPTR Address, PRTGCINTPTR poffDisplacement, PDBGFLINE pLine) 117 { 118 return VERR_INTERNAL_ERROR; 119 } 120 VMMR3DECL(int) DBGFR3LogModifyDestinations(PUVM pUVM, const char *pszDestSettings) 121 { 122 return VERR_INTERNAL_ERROR; 123 } 124 VMMR3DECL(int) DBGFR3LogModifyFlags(PUVM pUVM, const char *pszFlagSettings) 125 { 126 return VERR_INTERNAL_ERROR; 127 } 128 VMMR3DECL(int) DBGFR3LogModifyGroups(PUVM pUVM, const char *pszGroupSettings) 129 { 130 return VERR_INTERNAL_ERROR; 131 } 132 VMMR3DECL(int) DBGFR3ModuleLoad(PUVM pUVM, const char *pszFilename, RTGCUINTPTR AddressDelta, const char *pszName, RTGCUINTPTR ModuleAddress, unsigned cbImage) 133 { 134 return VERR_INTERNAL_ERROR; 135 } 136 VMMR3DECL(int) DBGFR3AsLoadImage(PUVM pUVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, uint32_t fFlags) 137 { 138 return VERR_INTERNAL_ERROR; 139 } 140 VMMR3DECL(int) DBGFR3AsLoadMap(PUVM pUVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, RTGCUINTPTR uSubtrahend, uint32_t fFlags) 141 { 142 return VERR_INTERNAL_ERROR; 143 } 144 VMMR3DECL(RTDBGAS) DBGFR3AsResolveAndRetain(PUVM pUVM, RTDBGAS hAlias) 155 145 { 156 146 return NIL_RTDBGAS; 157 147 } 158 VMMR3DECL(int) DBGFR3Resume(P VM pVM)159 { 160 return VERR_INTERNAL_ERROR; 161 } 162 VMMR3DECL(int) DBGFR3StackWalkBegin(P VM pVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFSTACKFRAME *ppFirstFrame)148 VMMR3DECL(int) DBGFR3Resume(PUVM pUVM) 149 { 150 return VERR_INTERNAL_ERROR; 151 } 152 VMMR3DECL(int) DBGFR3StackWalkBegin(PUVM pUVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFSTACKFRAME *ppFirstFrame) 163 153 { 164 154 return VERR_INTERNAL_ERROR; … … 171 161 { 172 162 } 173 VMMR3DECL(int) DBGFR3Step(P VM pVM, VMCPUID idCpu)174 { 175 return VERR_INTERNAL_ERROR; 176 } 177 VMMR3DECL(int) DBGFR3AsSymbolByAddr(P VM pVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisplacement, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod)178 { 179 return VERR_INTERNAL_ERROR; 180 } 181 VMMR3DECL(int) DBGFR3AsSymbolByName(P VM pVM, RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod)182 { 183 return VERR_INTERNAL_ERROR; 184 } 185 VMMR3DECL(int) DBGFR3MemScan(P VM pVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, RTGCUINTPTR cbRange, RTGCUINTPTR uAlign, const void *pabNeedle, size_t cbNeedle, PDBGFADDRESS pHitAddress)186 { 187 return VERR_INTERNAL_ERROR; 188 } 189 VMMR3DECL(int) DBGFR3MemRead(P VM pVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void *pvBuf, size_t cbRead)190 { 191 return VERR_INTERNAL_ERROR; 192 } 193 VMMR3DECL(int) DBGFR3MemReadString(P VM pVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, char *pszBuf, size_t cchBuf)194 { 195 return VERR_INTERNAL_ERROR; 196 } 197 VMMR3DECL(int) DBGFR3MemWrite(P VM pVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, const void *pvBuf, size_t cbRead)198 { 199 return VERR_INTERNAL_ERROR; 200 } 201 VMMDECL(int) DBGFR3PagingDumpEx(P VM pVM, VMCPUID idCpu, uint32_t fFlags, uint64_t cr3, uint64_t u64FirstAddr,163 VMMR3DECL(int) DBGFR3Step(PUVM pUVM, VMCPUID idCpu) 164 { 165 return VERR_INTERNAL_ERROR; 166 } 167 VMMR3DECL(int) DBGFR3AsSymbolByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisplacement, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod) 168 { 169 return VERR_INTERNAL_ERROR; 170 } 171 VMMR3DECL(int) DBGFR3AsSymbolByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod) 172 { 173 return VERR_INTERNAL_ERROR; 174 } 175 VMMR3DECL(int) DBGFR3MemScan(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, RTGCUINTPTR cbRange, RTGCUINTPTR uAlign, const void *pabNeedle, size_t cbNeedle, PDBGFADDRESS pHitAddress) 176 { 177 return VERR_INTERNAL_ERROR; 178 } 179 VMMR3DECL(int) DBGFR3MemRead(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void *pvBuf, size_t cbRead) 180 { 181 return VERR_INTERNAL_ERROR; 182 } 183 VMMR3DECL(int) DBGFR3MemReadString(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, char *pszBuf, size_t cchBuf) 184 { 185 return VERR_INTERNAL_ERROR; 186 } 187 VMMR3DECL(int) DBGFR3MemWrite(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, const void *pvBuf, size_t cbRead) 188 { 189 return VERR_INTERNAL_ERROR; 190 } 191 VMMDECL(int) DBGFR3PagingDumpEx(PUVM pUVM, VMCPUID idCpu, uint32_t fFlags, uint64_t cr3, uint64_t u64FirstAddr, 202 192 uint64_t u64LastAddr, uint32_t cMaxDepth, PCDBGFINFOHLP pHlp) 203 193 { 204 194 return VERR_INTERNAL_ERROR; 205 195 } 206 VMMR3DECL(int) DBGFR3RegNmValidate(P VM pVM, VMCPUID idDefCpu, const char *pszReg)196 VMMR3DECL(int) DBGFR3RegNmValidate(PUVM pUVM, VMCPUID idDefCpu, const char *pszReg) 207 197 { 208 198 if ( !strcmp(pszReg, "ah") … … 213 203 return VERR_DBGF_REGISTER_NOT_FOUND; 214 204 } 215 VMMR3DECL(int) DBGFR3RegCpuQueryU8( P VM pVM, VMCPUID idCpu, DBGFREG enmReg, uint8_t *pu8)216 { 217 return VERR_INTERNAL_ERROR; 218 } 219 VMMR3DECL(int) DBGFR3RegCpuQueryU16( P VM pVM, VMCPUID idCpu, DBGFREG enmReg, uint16_t *pu16)220 { 221 return VERR_INTERNAL_ERROR; 222 } 223 VMMR3DECL(int) DBGFR3RegCpuQueryU32( P VM pVM, VMCPUID idCpu, DBGFREG enmReg, uint32_t *pu32)224 { 225 return VERR_INTERNAL_ERROR; 226 } 227 VMMR3DECL(int) DBGFR3RegCpuQueryU64( P VM pVM, VMCPUID idCpu, DBGFREG enmReg, uint64_t *pu64)228 { 229 return VERR_INTERNAL_ERROR; 230 } 231 VMMR3DECL(int) DBGFR3RegNmQuery(P VM pVM, VMCPUID idDefCpu, const char *pszReg, PDBGFREGVAL pValue, PDBGFREGVALTYPE penmType)205 VMMR3DECL(int) DBGFR3RegCpuQueryU8( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint8_t *pu8) 206 { 207 return VERR_INTERNAL_ERROR; 208 } 209 VMMR3DECL(int) DBGFR3RegCpuQueryU16( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint16_t *pu16) 210 { 211 return VERR_INTERNAL_ERROR; 212 } 213 VMMR3DECL(int) DBGFR3RegCpuQueryU32( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint32_t *pu32) 214 { 215 return VERR_INTERNAL_ERROR; 216 } 217 VMMR3DECL(int) DBGFR3RegCpuQueryU64( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint64_t *pu64) 218 { 219 return VERR_INTERNAL_ERROR; 220 } 221 VMMR3DECL(int) DBGFR3RegNmQuery(PUVM pUVM, VMCPUID idDefCpu, const char *pszReg, PDBGFREGVAL pValue, PDBGFREGVALTYPE penmType) 232 222 { 233 223 if (idDefCpu == 0 || idDefCpu == DBGFREG_HYPER_VMCPUID) … … 260 250 return VERR_DBGF_REGISTER_NOT_FOUND; 261 251 } 262 VMMR3DECL(int) DBGFR3RegPrintf(P VM pVM, VMCPUID idCpu, char *pszBuf, size_t cbBuf, const char *pszFormat, ...)252 VMMR3DECL(int) DBGFR3RegPrintf(PUVM pUVM, VMCPUID idCpu, char *pszBuf, size_t cbBuf, const char *pszFormat, ...) 263 253 { 264 254 return VERR_INTERNAL_ERROR; … … 268 258 return VERR_INTERNAL_ERROR; 269 259 } 270 VMMR3DECL(int) DBGFR3RegNmSet(P VM pVM, VMCPUID idDefCpu, const char *pszReg, PCDBGFREGVAL pValue, DBGFREGVALTYPE enmType)271 { 272 return VERR_INTERNAL_ERROR; 273 } 274 275 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromPhys(P VM pVM, PDBGFADDRESS pAddress, RTGCPHYS PhysAddr)276 { 277 return NULL; 278 } 279 VMMR3DECL(int) DBGFR3AddrToHostPhys(P VM pVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys)280 { 281 return VERR_INTERNAL_ERROR; 282 } 283 VMMR3DECL(int) DBGFR3AddrToVolatileR3Ptr(P VM pVM, VMCPUID idCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr)284 { 285 return VERR_INTERNAL_ERROR; 286 } 287 288 VMMR3DECL(int) DBGFR3OSRegister(P VM pVM, PCDBGFOSREG pReg)289 { 290 return VERR_INTERNAL_ERROR; 291 } 292 VMMR3DECL(int) DBGFR3OSDetect(P VM pVM, char *pszName, size_t cchName)293 { 294 return VERR_INTERNAL_ERROR; 295 } 296 VMMR3DECL(int) DBGFR3OSQueryNameAndVersion(P VM pVM, char *pszName, size_t cchName, char *pszVersion, size_t cchVersion)297 { 298 return VERR_INTERNAL_ERROR; 299 } 300 301 VMMR3DECL(int) DBGFR3SelQueryInfo(P VM pVM, VMCPUID idCpu, RTSEL Sel, uint32_t fFlags, PDBGFSELINFO pSelInfo)302 { 303 return VERR_INTERNAL_ERROR; 304 } 305 306 VMMR3DECL(CPUMMODE) DBGFR3CpuGetMode(P VM pVM, VMCPUID idCpu)260 VMMR3DECL(int) DBGFR3RegNmSet(PUVM pUVM, VMCPUID idDefCpu, const char *pszReg, PCDBGFREGVAL pValue, DBGFREGVALTYPE enmType) 261 { 262 return VERR_INTERNAL_ERROR; 263 } 264 265 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromPhys(PUVM pUVM, PDBGFADDRESS pAddress, RTGCPHYS PhysAddr) 266 { 267 return NULL; 268 } 269 VMMR3DECL(int) DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys) 270 { 271 return VERR_INTERNAL_ERROR; 272 } 273 VMMR3DECL(int) DBGFR3AddrToVolatileR3Ptr(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr) 274 { 275 return VERR_INTERNAL_ERROR; 276 } 277 278 VMMR3DECL(int) DBGFR3OSRegister(PUVM pUVM, PCDBGFOSREG pReg) 279 { 280 return VERR_INTERNAL_ERROR; 281 } 282 VMMR3DECL(int) DBGFR3OSDetect(PUVM pUVM, char *pszName, size_t cchName) 283 { 284 return VERR_INTERNAL_ERROR; 285 } 286 VMMR3DECL(int) DBGFR3OSQueryNameAndVersion(PUVM pUVM, char *pszName, size_t cchName, char *pszVersion, size_t cchVersion) 287 { 288 return VERR_INTERNAL_ERROR; 289 } 290 291 VMMR3DECL(int) DBGFR3SelQueryInfo(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, uint32_t fFlags, PDBGFSELINFO pSelInfo) 292 { 293 return VERR_INTERNAL_ERROR; 294 } 295 296 VMMR3DECL(CPUMMODE) DBGFR3CpuGetMode(PUVM pUVM, VMCPUID idCpu) 307 297 { 308 298 return CPUMMODE_INVALID; 309 299 } 310 311 VMMR3DECL(int) DBGFR3CoreWrite(PVM pVM, const char *pszFilename, bool fReplaceFile) 300 VMMR3DECL(VMCPUID) DBGFR3CpuGetCount(PUVM pUVM) 301 { 302 return 1; 303 } 304 305 VMMR3DECL(int) DBGFR3CoreWrite(PUVM pUVM, const char *pszFilename, bool fReplaceFile) 312 306 { 313 307 return VERR_INTERNAL_ERROR; … … 382 376 383 377 384 #include <VBox/vmm/mm.h>385 386 VMMR3DECL(int) MMR3HCPhys2HCVirt(PVM pVM, RTHCPHYS HCPhys, void **ppv)387 {388 return VERR_INTERNAL_ERROR;389 }390 391 392 393 378 394 379 #include <VBox/vmm/pgm.h> … … 404 389 } 405 390 406 VMMR3DECL(int) PGMR3DbgR3Ptr2GCPhys(P VM pVM, RTR3PTR R3Ptr, PRTGCPHYS pGCPhys)407 { 408 return VERR_INTERNAL_ERROR; 409 } 410 411 VMMR3DECL(int) PGMR3DbgR3Ptr2HCPhys(P VM pVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys)412 { 413 return VERR_INTERNAL_ERROR; 414 } 415 VMMR3DECL(int) PGMR3DbgHCPhys2GCPhys(P VM pVM, RTHCPHYS HCPhys, PRTGCPHYS pGCPhys)391 VMMR3DECL(int) PGMR3DbgR3Ptr2GCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTGCPHYS pGCPhys) 392 { 393 return VERR_INTERNAL_ERROR; 394 } 395 396 VMMR3DECL(int) PGMR3DbgR3Ptr2HCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys) 397 { 398 return VERR_INTERNAL_ERROR; 399 } 400 VMMR3DECL(int) PGMR3DbgHCPhys2GCPhys(PUVM pUVM, RTHCPHYS HCPhys, PRTGCPHYS pGCPhys) 416 401 { 417 402 return VERR_INTERNAL_ERROR; … … 421 406 #include <VBox/vmm/vmm.h> 422 407 423 VMMDECL(PVMCPU) VMMGetCpuById(PVM pVM, RTCPUID idCpu) 424 { 425 return NULL; 426 } 427 408 VMMR3DECL(PVMCPU) VMMR3GetCpuByIdU(PUVM pUVM, RTCPUID idCpu) 409 { 410 return NULL; 411 } 412 413 414 VMMR3DECL(PVM) VMR3GetVM(PUVM pUVM) 415 { 416 return NULL; 417 }
Note:
See TracChangeset
for help on using the changeset viewer.