Changeset 23 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jan 15, 2007 2:08:28 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17451
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 152 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CFGM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 * 3 * \ref pg_vmm "VMM (Virtual Machine Monitor) -> 4 * \ref pg_cfgm "CFGM (Configuration Manager)": 5 * Main file 3 * CFGM - Configuration Manager. 6 4 * 7 5 * This is the main file of the \ref pg_cfgm "CFGM (Configuration Manager)". … … 73 71 #include <iprt/assert.h> 74 72 #include <iprt/string.h> 75 76 #include <string.h>77 73 78 74 … … 1484 1480 { 1485 1481 memcpy(pvCopy, pvBytes, cbBytes); 1486 1482 1487 1483 /* 1488 1484 * Create value leaf and set it to string type. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/CFGMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CFGM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/CPUM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CPUM - CPU Monitor(/Manager) 4 4 */ … … 591 591 /** 592 592 * Formats the EFLAGS value into mnemonics. 593 * 593 * 594 594 * @param pszEFlags Where to write the mnemonics. (Assumes sufficient buffer space.) 595 595 * @param efl The EFLAGS value. … … 647 647 static void cpumR3InfoOne(PCPUMCTX pCtx, PCCPUMCTXCORE pCtxCore, PCDBGFINFOHLP pHlp, CPUMDUMPTYPE enmType, const char *pszPrefix) 648 648 { 649 /* 650 * Format the EFLAGS. 649 /* 650 * Format the EFLAGS. 651 651 */ 652 652 uint32_t efl = pCtxCore->eflags.u32; … … 823 823 pHlp->pfnPrintf(pHlp, "Host CPUM state: %s\n", pszComment); 824 824 825 /* 826 * Format the EFLAGS. 825 /* 826 * Format the EFLAGS. 827 827 */ 828 828 PCPUMHOSTCTX pCtx = &pVM->cpum.s.Host; … … 831 831 #else 832 832 uint64_t efl = pCtx->rflags; 833 #endif 833 #endif 834 834 char szEFlags[80]; 835 835 cpumR3InfoFormatFlags(&szEFlags[0], efl); … … 874 874 /*pCtx->rax,*/ pCtx->rbx, /*pCtx->rcx, 875 875 pCtx->rdx,*/ pCtx->rsi, pCtx->rdi, 876 /*pCtx->rip,*/ pCtx->rsp, pCtx->rbp, 876 /*pCtx->rip,*/ pCtx->rsp, pCtx->rbp, 877 877 /*pCtx->r8, pCtx->r9,*/ pCtx->r10, 878 878 pCtx->r11, pCtx->r12, pCtx->r13, … … 884 884 pCtx->dr0, pCtx->dr1, pCtx->dr2, 885 885 pCtx->dr3, pCtx->dr6, pCtx->dr7, 886 *(uint64_t *)&pCtx->gdtr[2], *(uint16_t *)&pCtx->gdtr[0], *(uint64_t *)&pCtx->idtr[2], *(uint16_t *)&pCtx->idtr[0], 886 *(uint64_t *)&pCtx->gdtr[2], *(uint16_t *)&pCtx->gdtr[0], *(uint64_t *)&pCtx->idtr[2], *(uint16_t *)&pCtx->idtr[0], 887 887 pCtx->SysEnter.cs, pCtx->SysEnter.eip, pCtx->SysEnter.esp, 888 888 pCtx->FSbase, pCtx->GSbase, pCtx->efer); 889 #endif 889 #endif 890 890 } 891 891 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/CPUMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CPUM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/CPUMStack.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CPUM - CPU Monitor(/Manager) - Stack manipulation. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGF.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility. 4 4 */ … … 89 89 #include <iprt/stream.h> 90 90 91 #include <stdio.h>92 93 91 94 92 /******************************************************************************* … … 108 106 DECLINLINE(DBGFCMD) dbgfr3SetCmd(PVM pVM, DBGFCMD enmCmd) 109 107 { 108 DBGFCMD rc; 110 109 if (enmCmd == DBGFCMD_NO_COMMAND) 111 110 { 112 111 Log2(("DBGF: Setting command to %d (DBGFCMD_NO_COMMAND)\n", enmCmd)); 113 DBGFCMDrc = (DBGFCMD)ASMAtomicXchgU32((uint32_t volatile *)(void *)&pVM->dbgf.s.enmVMMCmd, enmCmd);112 rc = (DBGFCMD)ASMAtomicXchgU32((uint32_t volatile *)(void *)&pVM->dbgf.s.enmVMMCmd, enmCmd); 114 113 VM_FF_CLEAR(pVM, VM_FF_DBGF); 115 return rc;116 114 } 117 115 else … … 119 117 Log2(("DBGF: Setting command to %d\n", enmCmd)); 120 118 AssertMsg(pVM->dbgf.s.enmVMMCmd == DBGFCMD_NO_COMMAND, ("enmCmd=%d enmVMMCmd=%d\n", enmCmd, pVM->dbgf.s.enmVMMCmd)); 121 DBGFCMDrc = (DBGFCMD)ASMAtomicXchgU32((uint32_t volatile *)(void *)&pVM->dbgf.s.enmVMMCmd, enmCmd);119 rc = (DBGFCMD)ASMAtomicXchgU32((uint32_t volatile *)(void *)&pVM->dbgf.s.enmVMMCmd, enmCmd); 122 120 VM_FF_SET(pVM, VM_FF_DBGF); 123 121 VMR3NotifyFF(pVM, false /* didn't notify REM */); 124 return rc;125 }122 } 123 return rc; 126 124 } 127 125 … … 235 233 * First a message. 236 234 */ 237 fprintf(stderr, "DBGF: No debugger attached, waiting 15 seconds for one to attach (event=%d)\n", enmEvent);238 fflush(stderr);235 RTStrmPrintf(g_pStdErr, "DBGF: No debugger attached, waiting 15 seconds for one to attach (event=%d)\n", enmEvent); 236 RTStrmFlush(g_pStdErr); 239 237 #ifdef DEBUG_sandervl 240 238 int cWait = 10; … … 247 245 if (pVM->dbgf.s.fAttached) 248 246 { 249 fprintf(stderr, "Attached!\n");250 fflush(stderr);247 RTStrmPrintf(g_pStdErr, "Attached!\n"); 248 RTStrmFlush(g_pStdErr); 251 249 return true; 252 250 } … … 255 253 if (!(cWait % 10)) 256 254 { 257 fprintf(stderr, "%d.", cWait / 10);258 fflush(stderr);255 RTStrmPrintf(g_pStdErr, "%d.", cWait / 10); 256 RTStrmFlush(g_pStdErr); 259 257 } 260 258 cWait--; 261 259 } 262 260 263 fprintf(stderr, "Stopping the VM!\n");264 fflush(stderr);261 RTStrmPrintf(g_pStdErr, "Stopping the VM!\n"); 262 RTStrmFlush(g_pStdErr); 265 263 return false; 266 264 } … … 1068 1066 } 1069 1067 1070 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFAddr.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Mixed Address Methods. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFBp.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Breakpoint Management. 4 4 */ … … 34 34 #include <VBox/log.h> 35 35 #include <iprt/assert.h> 36 37 #include <string.h> 36 #include <iprt/string.h> 38 37 39 38 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFDisas.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Disassembler. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFInfo.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Info. 4 4 */ … … 34 34 #include <iprt/thread.h> 35 35 #include <iprt/assert.h> 36 #include <iprt/string.h> 37 #include <iprt/ctype.h> 36 38 #include <VBox/err.h> 37 38 #include <string.h>39 #include <ctype.h>40 39 41 40 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * DBGF - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFLog.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Log Manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFStack.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Call Stack Analyser. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/DBGFSym.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM DBGF - Debugger Facility, Symbol Management. 4 4 */ … … 44 44 # include <iprt/avl.h> 45 45 # include <iprt/string.h> 46 # include <string.h> 47 #endif 48 49 #include <ctype.h> 50 #include <stdio.h> 46 # include <iprt/ctype.h> 47 #endif 48 49 #include <stdio.h> /* for fopen(). */ /** @todo use iprt/stream.h! */ 51 50 #include <stdlib.h> 52 51 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/EM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * EM - Execution Monitor/Manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/EMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * EM - Internal header file. 4 4 */ … … 44 44 #define EM_SAVED_STATE_VERSION 2 45 45 46 /** Enable for tracing in raw mode. 46 /** Enable for tracing in raw mode. 47 47 * @remark SvL: debugging help primarily for myself. */ 48 48 #define DEBUG_TRACING_ENABLED -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/HWACCM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM - Intel/AMD VM Hardware Support Manager 4 4 */ … … 48 48 #include "x86context.h" 49 49 50 #include <string.h>51 52 50 53 51 /******************************************************************************* … … 79 77 AssertMsg(RT_OFFSETOF(SVM_VMCB, ctrl.ExitIntInfo) == 0x88, ("ctrl.ExitIntInfo offset = %x\n", RT_OFFSETOF(SVM_VMCB, ctrl.ExitIntInfo))); 80 78 AssertMsg(RT_OFFSETOF(SVM_VMCB, ctrl.TLBCtrl) == 0x58, ("ctrl.TLBCtrl offset = %x\n", RT_OFFSETOF(SVM_VMCB, ctrl.TLBCtrl))); 81 79 82 80 AssertMsg(RT_OFFSETOF(SVM_VMCB, guest) == 0x400, ("guest offset = %x\n", RT_OFFSETOF(SVM_VMCB, guest))); 83 81 AssertMsg(RT_OFFSETOF(SVM_VMCB, guest.u8Reserved4) == 0x4A0, ("guest.u8Reserved4 offset = %x\n", RT_OFFSETOF(SVM_VMCB, guest.u8Reserved4))); -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/HWACCMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/IOM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * IOM - Input / Output Monitor. 4 4 */ … … 66 66 #include <VBox/log.h> 67 67 #include <VBox/err.h> 68 69 #include <string.h>70 68 71 69 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/IOMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * IOM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/MM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager). 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/MMHeap.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Heap. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/MMHyper.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * MM - Memory Monitor(/Manager) - Hypervisor Memory Area. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/MMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/MMPagePool.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Page Pool. 4 4 */ … … 38 38 # include <iprt/asm.h> 39 39 #endif 40 41 #include <string.h> 40 #include <iprt/string.h> 41 42 42 43 43 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/MMPhys.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Physical Memory. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/CSAM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CSAM - Guest OS Code Scanning and Analysis Manager 4 4 */ … … 47 47 #include <VBox/log.h> 48 48 #include <iprt/assert.h> 49 #include <iprt/string.h> 49 50 #include <VBox/dis.h> 50 51 #include <VBox/disopcode.h> 51 #include <string.h>52 52 #include <stdlib.h> 53 53 #include <stdio.h> … … 59 59 /* Enable to monitor code pages for self-modifying code. */ 60 60 #define CSAM_MONITOR_CODE_PAGES 61 /* Enable to monitor all scanned pages 61 /* Enable to monitor all scanned pages 62 62 #define CSAM_MONITOR_CSAM_CODE_PAGES */ 63 63 … … 140 140 STAM_REG(pVM, &pVM->csam.s.StatNrRemovedPages, STAMTYPE_COUNTER, "/CSAM/PageRec/Removed", STAMUNIT_OCCURENCES, "The number of removed CSAM page records."); 141 141 STAM_REG(pVM, &pVM->csam.s.StatPageRemoveREMFlush,STAMTYPE_COUNTER, "/CSAM/PageRec/Removed/REMFlush", STAMUNIT_OCCURENCES, "The number of removed CSAM page records that caused a REM flush."); 142 142 143 143 STAM_REG(pVM, &pVM->csam.s.StatNrPatchPages, STAMTYPE_COUNTER, "/CSAM/PageRec/Patch", STAMUNIT_OCCURENCES, "The number of CSAM patch page records."); 144 144 STAM_REG(pVM, &pVM->csam.s.StatNrUserPages, STAMTYPE_COUNTER, "/CSAM/PageRec/Ignore/User", STAMUNIT_OCCURENCES, "The number of CSAM user page records (ignored)."); … … 165 165 STAM_REG(pVM, &pVM->csam.s.StatScanNextFunction, STAMTYPE_COUNTER, "/CSAM/Function/Scan/Success", STAMUNIT_OCCURENCES, "The number of found functions beyond the ret border."); 166 166 STAM_REG(pVM, &pVM->csam.s.StatScanNextFunctionFailed, STAMTYPE_COUNTER, "/CSAM/Function/Scan/Failed", STAMUNIT_OCCURENCES, "The number of refused functions beyond the ret border."); 167 167 168 168 STAM_REG(pVM, &pVM->csam.s.StatTime, STAMTYPE_PROFILE, "/PROF/CSAM/Scan", STAMUNIT_TICKS_PER_CALL, "Scanning overhead."); 169 169 STAM_REG(pVM, &pVM->csam.s.StatTimeCheckAddr, STAMTYPE_PROFILE, "/PROF/CSAM/CheckAddr", STAMUNIT_TICKS_PER_CALL, "Address check overhead."); … … 173 173 STAM_REG(pVM, &pVM->csam.s.StatFlushDirtyPages, STAMTYPE_PROFILE, "/PROF/CSAM/FlushDirtyPage", STAMUNIT_TICKS_PER_CALL, "Dirty page flushing overhead."); 174 174 STAM_REG(pVM, &pVM->csam.s.StatCheckGates, STAMTYPE_PROFILE, "/PROF/CSAM/CheckGates", STAMUNIT_TICKS_PER_CALL, "CSAMR3CheckGates overhead."); 175 175 176 176 177 177 #ifdef CSAM_ENABLE … … 608 608 size--; 609 609 } 610 else 610 else 611 611 break; 612 612 } … … 956 956 * lea esi, [esi] 957 957 * lea esi, [esi+0] 958 * Any register is allowed as long as source and destination are identical. 958 * Any register is allowed as long as source and destination are identical. 959 959 */ 960 960 if ( cpu.param1.flags != USE_REG_GEN32 … … 1170 1170 #ifdef CSAM_ANALYSE_BEYOND_RET 1171 1171 /* Remember the address of the instruction following the ret in case the parent instruction was a call. */ 1172 if ( pCacheRec->pCallExitRec 1172 if ( pCacheRec->pCallExitRec 1173 1173 && cpu.pCurInstr->opcode == OP_RETN 1174 1174 && pCacheRec->pCallExitRec->cInstrAfterRet < CSAM_MAX_CALLEXIT_RET) … … 1266 1266 if (PAGE_ADDRESS(addr) != PAGE_ADDRESS(pJumpTableGC)) 1267 1267 break; 1268 1268 1269 1269 addr = *(RTGCPTR *)(pJumpTableHC + cpu.param1.scale * i); 1270 1270 1271 1271 rc2 = PGMGstGetPage(pVM, addr, &fFlags, NULL); 1272 if ( rc2 != VINF_SUCCESS 1272 if ( rc2 != VINF_SUCCESS 1273 1273 || (fFlags & X86_PTE_US) 1274 1274 || !(fFlags & X86_PTE_P) … … 2173 2173 if (iGate + cGates > maxGates) 2174 2174 cGates = maxGates - iGate; 2175 2175 2176 2176 GCPtrIDT = GCPtrIDT + iGate * sizeof(VBOXIDTE); 2177 2177 iGateEnd = iGate + cGates; … … 2208 2208 for (/*iGate*/; iGate<iGateEnd; iGate++, pGuestIdte++) 2209 2209 { 2210 if ( pVM->csam.s.fGatesChecked 2210 if ( pVM->csam.s.fGatesChecked 2211 2211 && cGates != 1 /* applies only when we check the entire IDT */ 2212 2212 && pGuestIdte->au64 != pVM->csam.s.aIDT[iGate].au64) -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/CSAMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CSAM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATM - Dynamic Guest OS Patching Manager 4 4 * … … 189 189 STAM_REG(pVM, &pVM->patm.s.StatInt3BlockRun, STAMTYPE_COUNTER, "/PATM/Patch/Run/Int3", STAMUNIT_OCCURENCES, "Number of times an int3 block patch was executed."); 190 190 STAMR3RegisterF(pVM, &pVM->patm.s.pGCStateHC->uPatchCalls, STAMTYPE_U32, STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES, NULL, "/PATM/Patch/Run/Normal"); 191 191 192 192 STAM_REG(pVM, &pVM->patm.s.StatInstalledFunctionPatches, STAMTYPE_COUNTER, "/PATM/Patch/Installed/Function", STAMUNIT_OCCURENCES, "Number of installed function duplication patches."); 193 193 STAM_REG(pVM, &pVM->patm.s.StatInstalledTrampoline, STAMTYPE_COUNTER, "/PATM/Patch/Installed/Trampoline", STAMUNIT_OCCURENCES, "Number of installed trampoline patches."); 194 194 STAM_REG(pVM, &pVM->patm.s.StatInstalledJump, STAMTYPE_COUNTER, "/PATM/Patch/Installed/Jump", STAMUNIT_OCCURENCES, "Number of installed jump patches."); 195 195 196 196 STAM_REG(pVM, &pVM->patm.s.StatOverwritten, STAMTYPE_COUNTER, "/PATM/Patch/Overwritten", STAMUNIT_OCCURENCES, "Number of overwritten patches."); 197 197 STAM_REG(pVM, &pVM->patm.s.StatFixedConflicts,STAMTYPE_COUNTER, "/PATM/Patch/ConflictFixed", STAMUNIT_OCCURENCES, "Number of fixed conflicts."); … … 220 220 STAM_REG(pVM, &pVM->patm.s.StatPatchWriteDetect, STAMTYPE_PROFILE, "/PATM/Write/Detect", STAMUNIT_TICKS_PER_CALL, "Profiling of PATMIsWriteToPatchPage"); 221 221 STAM_REG(pVM, &pVM->patm.s.StatPatchWriteInterpreted, STAMTYPE_COUNTER, "/PATM/Write/Interpreted/Success", STAMUNIT_OCCURENCES, "Nr of interpreted patch writes."); 222 STAM_REG(pVM, &pVM->patm.s.StatPatchWriteInterpretedFailed, STAMTYPE_COUNTER, "/PATM/Write/Interpreted/Failed", STAMUNIT_OCCURENCES, "Nr of failed interpreted patch writes."); 222 STAM_REG(pVM, &pVM->patm.s.StatPatchWriteInterpretedFailed, STAMTYPE_COUNTER, "/PATM/Write/Interpreted/Failed", STAMUNIT_OCCURENCES, "Nr of failed interpreted patch writes."); 223 223 224 224 STAM_REG(pVM, &pVM->patm.s.StatPatchPageInserted, STAMTYPE_COUNTER, "/PATM/Page/Inserted", STAMUNIT_OCCURENCES, "Nr of inserted guest pages that were patched"); … … 238 238 STAM_REG(pVM, &pVM->patm.s.StatGenPopf, STAMTYPE_COUNTER, "/PATM/Gen/Popf" , STAMUNIT_OCCURENCES, "Number of generated popf instructions."); 239 239 240 STAM_REG(pVM, &pVM->patm.s.StatCheckPendingIRQ, STAMTYPE_COUNTER, "/PATM/GC/CheckIRQ" , STAMUNIT_OCCURENCES, "Number of traps that ask to check for pending irqs."); 240 STAM_REG(pVM, &pVM->patm.s.StatCheckPendingIRQ, STAMTYPE_COUNTER, "/PATM/GC/CheckIRQ" , STAMUNIT_OCCURENCES, "Number of traps that ask to check for pending irqs."); 241 241 #endif /* VBOX_WITH_STATISTICS */ 242 242 … … 249 249 Log(("PATMStiRecord.size %d\n", PATMStiRecord.size)); 250 250 Log(("PATMCheckIFRecord.size %d\n", PATMCheckIFRecord.size)); 251 251 252 252 return rc; 253 253 } … … 2742 2742 Log(("PATMR3PatchBlock %VGv -> int 3 callable patch.\n", pPatch->pPrivInstrGC)); 2743 2743 /* Replace first opcode byte with 'int 3'. */ 2744 rc = patmActivateInt3Patch(pVM, pPatch); 2744 rc = patmActivateInt3Patch(pVM, pPatch); 2745 2745 if (VBOX_FAILURE(rc)) 2746 2746 goto failure; … … 3628 3628 3629 3629 /** 3630 * Activates an int3 patch 3630 * Activates an int3 patch 3631 3631 * 3632 3632 * @returns VBox status code. … … 3652 3652 3653 3653 /** 3654 * Deactivates an int3 patch 3654 * Deactivates an int3 patch 3655 3655 * 3656 3656 * @returns VBox status code. … … 4029 4029 } 4030 4030 /* Disallow patching instructions inside ROM code; complete function duplication is allowed though. */ 4031 if ( !(flags & (PATMFL_DUPLICATE_FUNCTION|PATMFL_TRAMPOLINE)) 4031 if ( !(flags & (PATMFL_DUPLICATE_FUNCTION|PATMFL_TRAMPOLINE)) 4032 4032 && !PGMPhysIsGCPhysNormal(pVM, GCPhys)) 4033 4033 { … … 4403 4403 if (pGuestToPatchRec) 4404 4404 { 4405 if ( pPatchPage->pLowestAddrGC == 0 4405 if ( pPatchPage->pLowestAddrGC == 0 4406 4406 || pPatchPage->pLowestAddrGC > (RTGCPTR)pGuestToPatchRec->Core.Key) 4407 4407 { … … 4416 4416 /* Get the closest guest instruction (from above) */ 4417 4417 pGuestToPatchRec = (PRECGUESTTOPATCH)RTAvlPVGetBestFit(&pPatch->Guest2PatchAddrTree, (AVLPVKEY)(pPage-1), false); 4418 4418 4419 4419 if (pGuestToPatchRec) 4420 4420 { … … 4432 4432 if (pGuestToPatchRec) 4433 4433 { 4434 if ( pPatchPage->pHighestAddrGC == 0 4434 if ( pPatchPage->pHighestAddrGC == 0 4435 4435 || pPatchPage->pHighestAddrGC < (RTGCPTR)pGuestToPatchRec->Core.Key) 4436 4436 { … … 4791 4791 pPatchRec = (PPATMPATCHREC)RTAvloGCPtrGetBestFit(&pVM->patm.s.PatchLookupTreeHC->PatchTree, pInstrGC, false); 4792 4792 // if the patch is enabled and the pointer lies within 5 bytes of this priv instr ptr, then we've got a hit! 4793 if ( pPatchRec 4794 && pPatchRec->patch.uState == PATCH_ENABLED 4795 && pInstrGC >= pPatchRec->patch.pPrivInstrGC 4793 if ( pPatchRec 4794 && pPatchRec->patch.uState == PATCH_ENABLED 4795 && pInstrGC >= pPatchRec->patch.pPrivInstrGC 4796 4796 && pInstrGC < pPatchRec->patch.pPrivInstrGC + pPatchRec->patch.cbPatchJump) 4797 4797 { … … 5087 5087 if (pPatch->uState == PATCH_DISABLED) 5088 5088 { 5089 if (pPatch->flags & PATMFL_MUST_INSTALL_PATCHJMP) 5089 if (pPatch->flags & PATMFL_MUST_INSTALL_PATCHJMP) 5090 5090 { 5091 5091 Assert(!(pPatch->flags & PATMFL_PATCHED_GUEST_CODE)); … … 5771 5771 5772 5772 if ( rc == VINF_SUCCESS 5773 && ( Cpu.pCurInstr->opcode == OP_PUSHF 5773 && ( Cpu.pCurInstr->opcode == OP_PUSHF 5774 5774 || Cpu.pCurInstr->opcode == OP_PUSH 5775 5775 || Cpu.pCurInstr->opcode == OP_CALL) -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATMA.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATM macros & definitions (identical to PATMA.mac!!) 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATMGuest.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATMGuest - Guest OS Patching Manager (non-generic) 4 4 */ … … 44 44 #include <VBox/log.h> 45 45 #include <iprt/assert.h> 46 #include <iprt/string.h> 46 47 #include <VBox/dis.h> 47 48 #include <VBox/disopcode.h> 48 #include <string.h>49 49 50 50 /* -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATMPatch.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATMPatch - Dynamic Guest OS Instruction patches 4 4 * … … 47 47 #include <iprt/assert.h> 48 48 #include <iprt/asm.h> 49 #include <iprt/string.h> 49 50 #include <VBox/dis.h> 50 51 #include <VBox/disopcode.h> 51 52 52 #include <string.h>53 53 #include <stdlib.h> 54 54 #include <stdio.h> -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATMPatch.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATMPatch - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/PATMSSM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATMSSM - Dynamic Guest OS Patching Manager; Save and load state 4 4 * … … 49 49 #include <iprt/assert.h> 50 50 #include <iprt/asm.h> 51 #include <iprt/string.h> 51 52 #include <VBox/dis.h> 52 53 #include <VBox/disopcode.h> 53 #include <string.h>54 54 55 55 #define PATM_SUBTRACT_PTR(a, b) *(uintptr_t *)&(a) = (uintptr_t)(a) - (uintptr_t)(b) -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/VMMAll/CSAMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CSAM - Guest OS Code Scanning and Analysis Manager - Any Context 4 4 */ … … 43 43 #include <VBox/dis.h> 44 44 #include <VBox/disopcode.h> 45 #include < string.h>45 #include <iprt/string.h> 46 46 #include <iprt/asm.h> 47 47 … … 155 155 if(fScanned) 156 156 ASMBitSet(pVM->csam.s.CTXSUFF(pPDBitmap)[pgdir], bit); 157 else 157 else 158 158 ASMBitClear(pVM->csam.s.CTXSUFF(pPDBitmap)[pgdir], bit); 159 159 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/VMMAll/PATMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATM - The Patch Manager, all contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/VMMGC/CSAMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CSAM - Guest OS Code Scanning and Analysis Manager - Any Context 4 4 */ … … 43 43 #include <VBox/dis.h> 44 44 #include <VBox/disopcode.h> 45 #include < string.h>45 #include <iprt/string.h> 46 46 #include <stdlib.h> 47 47 #include <stdio.h> -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PATM - Dynamic Guest OS Patching Manager - Guest Context 4 4 */ … … 42 42 #include <iprt/assert.h> 43 43 #include <iprt/asm.h> 44 #include < string.h>44 #include <iprt/string.h> 45 45 #include <stdlib.h> 46 46 #include <stdio.h> -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Pluggable Device Manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDMCritSect.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM Critical Sections 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDMDevice.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Pluggable Device and Driver Manager, Device parts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDMDriver.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Pluggable Device and Driver Manager, Driver parts. 4 4 */ … … 42 42 #include <iprt/alloc.h> 43 43 #include <iprt/path.h> 44 45 #include <string.h>46 44 47 45 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Internal header file. 4 4 */ … … 662 662 GCPTRTYPE(struct PDMQUEUE *) pQueueFlushGC; 663 663 664 /** TEMPORARY HACKS FOR NETWORK POLLING. 664 /** TEMPORARY HACKS FOR NETWORK POLLING. 665 665 * @todo fix NAT and kill this! 666 666 * @{ */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDMLdr.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Pluggable Device Manager, module loader. 4 4 */ … … 46 46 47 47 #include <limits.h> 48 #include <string.h>49 48 50 49 … … 98 97 rc = PDMR3LoadGC(pVM, NULL, VMMGC_MAIN_MODULE_NAME); 99 98 return rc; 100 #endif 99 #endif 101 100 } 102 101 … … 675 674 AssertMsgFailed(("Couldn't locate module '%s'\n", pszModule)); 676 675 return VERR_SYMBOL_NOT_FOUND; 677 #endif 676 #endif 678 677 } 679 678 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PDMQueue.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM Queue - Transport data and tasks to EMT and R3. 4 4 */ … … 153 153 * caused by the critsect queue to be last in the chain). 154 154 * Update, the critical sections are no longer using queues. 155 */ 155 */ 156 156 if (!pVM->pdm.s.pQueuesForced) 157 157 pVM->pdm.s.pQueuesForced = pQueue; -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Page Manager and Monitor. (Mixing stuff here, not good?) 4 4 */ … … 631 631 #if 1 632 632 pVM->pgm.s.pInterPaePDPTR64 = (PX86PDPTR)MMR3PageAllocLow(pVM); 633 #endif 633 #endif 634 634 pVM->pgm.s.pInterPaePML4 = (PX86PML4)MMR3PageAllocLow(pVM); 635 635 if ( !pVM->pgm.s.pInterPD … … 711 711 pVM->pgm.s.pInterPaePML4->a[0].u = X86_PML4E_P | X86_PML4E_RW | X86_PML4E_US | X86_PML4E_A 712 712 | pVM->pgm.s.HCPhysInterPaePDPTR; 713 #endif 713 #endif 714 714 715 715 … … 1349 1349 #else 1350 1350 SSMR3PutUInt(pSSM, pPGM->fMappingsFixed); 1351 #endif 1351 #endif 1352 1352 SSMR3PutGCPtr(pSSM, pPGM->GCPtrMappingFixed); 1353 1353 SSMR3PutU32(pSSM, pPGM->cbMappingFixed); … … 1454 1454 SSMR3GetU32(pSSM, &u); 1455 1455 pPGM->fMappingsFixed = u; 1456 #endif 1456 #endif 1457 1457 SSMR3GetGCPtr(pSSM, &pPGM->GCPtrMappingFixed); 1458 1458 SSMR3GetU32(pSSM, &pPGM->cbMappingFixed); -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMBth.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager / Monitor, Shadow+Guest Paging Template. 4 4 * -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMCache.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - PGM PD Cache Manager 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMGst.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager / Monitor, Guest Paging Template. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMHandler.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Page Manager / Monitor, Access Handlers. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/PGMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMMap.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Page Manager, Guest Context Mappings. 4 4 */ … … 334 334 if (!pCur) 335 335 { 336 LogRel(("PGMR3MappingsFix: Conflicts with intermediate PDE %#x (GCPtrBase=%VGv cb=%#zx). The guest should retry.\n", 336 LogRel(("PGMR3MappingsFix: Conflicts with intermediate PDE %#x (GCPtrBase=%VGv cb=%#zx). The guest should retry.\n", 337 337 iPDNew + i, GCPtrBase, cb)); 338 338 return VERR_PGM_MAPPINGS_FIX_CONFLICT; … … 562 562 { 563 563 AssertMsgFailed(("Conflict iPTE=%#x iPDE=%#x uAddress=%VHv pPT->a[iPTE].u=%RX32\n", iPTE, iPDE, uAddress, pPT->a[iPTE].u)); 564 LogRel(("Conflict iPTE=%#x iPDE=%#x uAddress=%VHv pPT->a[iPTE].u=%RX32\n", 564 LogRel(("Conflict iPTE=%#x iPDE=%#x uAddress=%VHv pPT->a[iPTE].u=%RX32\n", 565 565 iPTE, iPDE, uAddress, pPT->a[iPTE].u)); 566 566 return VERR_PGM_MAPPINGS_FIX_CONFLICT; /** @todo error codes! */ … … 595 595 { 596 596 AssertMsgFailed(("Conflict iPTE=%#x iPDE=%#x uAddress=%VHv pPTPae->a[iPTE].u=%#RX64\n", iPTE, iPDE, uAddress, pPTPae->a[iPTE].u)); 597 LogRel(("Conflict iPTE=%#x iPDE=%#x uAddress=%VHv pPTPae->a[iPTE].u=%#RX64\n", 597 LogRel(("Conflict iPTE=%#x iPDE=%#x uAddress=%VHv pPTPae->a[iPTE].u=%#RX64\n", 598 598 iPTE, iPDE, uAddress, pPTPae->a[iPTE].u)); 599 599 return VERR_PGM_MAPPINGS_FIX_CONFLICT; /** @todo error codes! */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMPhys.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r16 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * PGM - Page Manager and Monitor, Physical Memory Addressing. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMPhys.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Page Manager and Monitor, Physical Memory Addressing. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/PGMPool.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM Shadow Page Pool. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/PGMShw.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager / Monitor, Shadow Paging Template. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/REMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * REM - Internal header file. … … 109 110 * Dynamically allocated guest RAM chunk information 110 111 * HC virt to GC Phys 111 * 112 * 112 113 * A RAM chunk can spawn two chunk regions as we don't align them on chunk boundaries. 113 114 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/SELM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * SELM - The Selector manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/SELMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * SELM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/SSM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * SSM - Saved State Manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/SSMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * SSM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/STAM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * STAM - The Statistics Manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/STAMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * STAM Internal Header. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/TM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TM - Timeout Manager. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/TMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/TRPM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TRPM - The Trap Monitor 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/TRPMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TRPM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VBoxVMMDeps.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * link dependencies - drag all we want into the link! 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VM - Virtual Machine 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMEmt.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VM - Virtual Machine, The Emulation Thread. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VM - Internal header file. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - The Virtual Machine Monitor Core. 4 4 */ … … 232 232 233 233 /* 234 * Allocate continguous pages for switchers and deal with 234 * Allocate continguous pages for switchers and deal with 235 235 * conflicts in the intermediate mapping of the code. 236 236 */ … … 244 244 { 245 245 /* try more allocations. */ 246 struct 246 struct 247 247 { 248 248 void *pvR0; … … 285 285 if (VBOX_SUCCESS(rc)) 286 286 { 287 /* 288 * copy the code. 287 /* 288 * copy the code. 289 289 */ 290 290 for (unsigned iSwitcher = 0; iSwitcher < ELEMENTS(s_apSwitchers); iSwitcher++) … … 317 317 } 318 318 else 319 VMSetError(pVM, rc, RT_SRC_POS, 320 N_("Failed to allocate %d bytes of contiguous memory for the world switcher code."), 319 VMSetError(pVM, rc, RT_SRC_POS, 320 N_("Failed to allocate %d bytes of contiguous memory for the world switcher code."), 321 321 cbCoreCode); 322 322 … … 476 476 STAM_REG(pVM, &pVM->vmm.s.StatGCRetIRETTrap, STAMTYPE_COUNTER, "/VMM/GCRet/IRETTrap", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_IRET_TRAP returns."); 477 477 STAM_REG(pVM, &pVM->vmm.s.StatGCRetEmulate, STAMTYPE_COUNTER, "/VMM/GCRet/Emulate", STAMUNIT_OCCURENCES, "Number of VINF_EM_EXECUTE_INSTRUCTION returns."); 478 STAM_REG(pVM, &pVM->vmm.s.StatGCRetPatchEmulate, STAMTYPE_COUNTER, "/VMM/GCRet/PatchEmulate", STAMUNIT_OCCURENCES, "Number of VINF_PATCH_EMULATE_INSTR returns."); 478 STAM_REG(pVM, &pVM->vmm.s.StatGCRetPatchEmulate, STAMTYPE_COUNTER, "/VMM/GCRet/PatchEmulate", STAMUNIT_OCCURENCES, "Number of VINF_PATCH_EMULATE_INSTR returns."); 479 479 STAM_REG(pVM, &pVM->vmm.s.StatGCRetIORead, STAMTYPE_COUNTER, "/VMM/GCRet/IORead", STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_IOPORT_READ returns."); 480 480 STAM_REG(pVM, &pVM->vmm.s.StatGCRetIOWrite, STAMTYPE_COUNTER, "/VMM/GCRet/IOWrite", STAMUNIT_OCCURENCES, "Number of VINF_IOM_HC_IOPORT_WRITE returns."); … … 759 759 { 760 760 unsigned off = pVM->vmm.s.aoffSwitchers[iSwitcher]; 761 pSwitcher->pfnRelocate(pVM, 761 pSwitcher->pfnRelocate(pVM, 762 762 pSwitcher, 763 763 (uint8_t *)pVM->vmm.s.pvHCCoreCodeR0 + off, … … 2626 2626 } 2627 2627 2628 #include <stdio.h>2629 2630 2628 2631 2629 /* execute the switch. */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CPUM - CPU Monitor(/Manager) - Gets and Sets. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/DBGFAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 * 3 * 4 * 3 * DBGF - Debugger Facility, All Context Code. 5 4 */ 6 5 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * EM - Execution Monitor(/Manager) - All contexts 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * IOM - Input / Output Monitor - Any Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * IOM - Input / Output Monitor - Guest Context. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMAll/MMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Any Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/MMAllHyper.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Hypervisor Memory Area, All Contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/MMAllPagePool.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Page Pool. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/MMAllPhys.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM - Memory Monitor(/Manager) - Physical Memory. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM Critical Sections 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM Critical Sections 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PDMAllQueue.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM Queue - Transport data and tasks to EMT and R3. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Page Manager and Monitor - All context code. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager, Shadow+Guest Paging Template - All context code. 4 4 * … … 2079 2079 { 2080 2080 /** @note We used to sync PGM_SYNC_NR_PAGES pages, which triggered assertions in CSAM, because 2081 * R/W attributes of nearby pages were reset. Not sure how that could happen. Anyway, it 2082 * makes no sense to prefetch more than one page. 2081 * R/W attributes of nearby pages were reset. Not sure how that could happen. Anyway, it 2082 * makes no sense to prefetch more than one page. 2083 2083 */ 2084 2084 rc = PGM_BTH_NAME(SyncPage)(pVM, PdeSrc, GCPtrPage, 1, 0); -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager, Guest Paging Template - All context code. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
-
Property svn:keywords
set to
Id
r14 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * PGM - Page Manager / Monitor, Access Handlers. -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * PGM - Page Manager and Monitor - All context code. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r13 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * PGM - Page Manager and Monitor, Physical Memory Addressing. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
-
Property svn:keywords
set to
Id
r11 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM Shadow Page Pool. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMAll/PGMAllShw.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager, Shadow Paging Template - All context code. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/REMAll.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * REM - Recompiled Execution Monitor, all Contexts part. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMAll/SELMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * SELM All contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/TMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TM - Timeout Manager, all contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TM - Timeout Manager, CPU Time, All Contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/TMAllReal.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TM - Timeout Manager, Real Time, All Contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TM - Timeout Manager, Virtual Time, All Contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TRPM - Trap Monitor - Any Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMAll/VMAll.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VM - Virtual Machine All Contexts. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM All Contexts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMCodingGuidelines.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Coding Guidelines. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMDocsRawMode.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * This file contains the documentation of the raw-mode execution. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/CPUMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CPUM - Guest Context Code. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/DBGFGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * DBGF - Debugger Facility, GC part. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/IOMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * IOM - Input / Output Monitor - Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/MMRamGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MMRamGC - Guest Context Ram access Routines, pair for MMRamGCA.asm. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Pluggable Device and Driver Manager, GC Device parts. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/PGMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PGM - Page Monitor, Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/PGMGCBth.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager, Shadow+Guest Paging Template - Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/PGMGCGst.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager, Guest Paging Template - Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/PGMGCShw.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox - Page Manager, Shadow Paging Template - Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/REMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 * 3 * 3 * REM - Recompiled Execution Manager, GC Code. 4 4 */ 5 5 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/SELMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * SELM - The Selector manager, Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/TRPMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TRPM - The Trap Monitor, Guest Context 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TRPM - Guest Context Trap Handlers, CPP part 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/VMMGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Guest Context. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMGC/VMMGCDeps.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMMGC Runtime Dependencies. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMInternal.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Internal header file. 4 4 */ … … 174 174 #if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 32 175 175 uint32_t u32Padding0; /**< Alignment padding. */ 176 #endif 176 #endif 177 177 178 178 /** VMM stack, pointer to the top of the stack in HC. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * CPUM - Host Context Ring 0. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM - Host Context Ring 0. 4 4 */ … … 303 303 304 304 #ifdef VBOX_STRICT 305 #include <string.h>306 305 #include <iprt/string.h> 307 306 /** -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM SVM - Host Context Ring 0. 4 4 */ … … 68 68 69 69 /* Program the control fields. Most of them never have to be changed again. */ 70 /* CR0/3/4 reads must be intercepted, our shadow values are not necessarily the same as the guest's. */ 70 /* CR0/3/4 reads must be intercepted, our shadow values are not necessarily the same as the guest's. */ 71 71 /** @note CR0 & CR4 can be safely read when guest and shadow copies are identical. */ 72 72 pVMCB->ctrl.u16InterceptRdCRx = BIT(0) | BIT(3) | BIT(4) | BIT(8); … … 106 106 | SVM_CTRL1_INTERCEPT_INVLPGA /* AMD only */ 107 107 | SVM_CTRL1_INTERCEPT_SHUTDOWN /* fatal */ 108 | SVM_CTRL1_INTERCEPT_FERR_FREEZE; /* Legacy FPU FERR handling. */ 108 | SVM_CTRL1_INTERCEPT_FERR_FREEZE; /* Legacy FPU FERR handling. */ 109 109 ; 110 110 pVMCB->ctrl.u32InterceptCtrl2 = SVM_CTRL2_INTERCEPT_VMRUN /* required */ … … 622 622 | SVM_CTRL1_INTERCEPT_INVLPGA /* AMD only */ 623 623 | SVM_CTRL1_INTERCEPT_SHUTDOWN /* fatal */ 624 | SVM_CTRL1_INTERCEPT_FERR_FREEZE /* Legacy FPU FERR handling. */ 624 | SVM_CTRL1_INTERCEPT_FERR_FREEZE /* Legacy FPU FERR handling. */ 625 625 )); 626 626 Assert(pVMCB->ctrl.u32InterceptCtrl2 == ( SVM_CTRL2_INTERCEPT_VMRUN /* required */ … … 992 992 goto ResumeExecution; 993 993 } 994 994 995 995 #ifdef VBOX_STRICT 996 996 case X86_XCPT_UD: /* Unknown opcode exception. */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.h
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM SVM - Internal header file. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM VMX - Host Context Ring 0. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * HWACCM SVM - Internal header file. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * PDM - Pluggable Device and Driver Manager, R0 Device parts. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/VMMR0/TRPMR0.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * TRPM - The Trap Monitor - HC Ring 0 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r17 r23 1 /* $Id$ */ 1 2 /** @file 2 3 * VMM - Host Context Ring 0. -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMMSwitcher/VMMSwitcher.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - World Switchers. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/VMReq.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VM - Virtual Machine 4 4 */ … … 746 746 { 747 747 uintptr_t *pauArgs = &pReq->u.Internal.aArgs[0]; 748 union 748 union 749 749 { 750 750 PFNRT pfn; -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstAnimate.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox Animation Testcase / Tool. 4 4 */ … … 42 42 #include <iprt/file.h> 43 43 #include <iprt/thread.h> 44 45 #include <string.h> 46 #include <ctype.h> 44 #include <iprt/ctype.h> 45 47 46 #include <signal.h> 48 47 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstAsmStructs.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Testcase for checking offsets in the assembly structures shared with C/C++. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstCFGM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Testcase for CFGM. 4 4 */ … … 34 34 #include <iprt/runtime.h> 35 35 #include <iprt/stream.h> 36 37 #include <string.h> 36 #include <iprt/string.h> 38 37 39 38 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstCompiler.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Testing how the compiler deals with various things. 4 4 * -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstHelp.c
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Testcase helpers. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstHelp.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM testcase - Helper stuff. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstMMHyperHeap.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * MM Hypervisor Heap testcase. 4 4 */ … … 34 34 #include <iprt/assert.h> 35 35 #include <iprt/stream.h> 36 37 #include <string.h> 36 #include <iprt/string.h> 38 37 39 38 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstMicro.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Micro Testcase, profiling special CPU operations. 4 4 */ … … 39 39 #include <iprt/string.h> 40 40 #include <iprt/semaphore.h> 41 42 #include <stdio.h>43 41 44 42 #include "tstMicro.h" … … 368 366 if (!VBOX_SUCCESS(rc)) 369 367 { 370 printf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc);368 RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc); 371 369 rcRet++; 372 370 } … … 374 372 else 375 373 { 376 printf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc);374 RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc); 377 375 rcRet++; 378 376 } -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstMicro.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Micro Testcase, profiling special CPU operations. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstMicroGC.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Micro Testcase, profiling special CPU operations - GC Code (hacks). 4 4 */ … … 32 32 #include <VBox/log.h> 33 33 #include <iprt/assert.h> 34 #include < string.h>34 #include <iprt/string.h> 35 35 36 36 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstProg-1.c
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Test program. 4 4 * -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstProg-2.c
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Test program no.2. 4 4 * -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstProg-3.c
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Test program #3. 4 4 * -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstSSM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Saved State Manager Testcase. 4 4 */ … … 36 36 #include <iprt/string.h> 37 37 #include <iprt/time.h> 38 39 #include <string.h>40 38 41 39 -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstVMM-2.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM Testcase - no. 2. 4 4 */ … … 34 34 #include <iprt/semaphore.h> 35 35 #include <iprt/thread.h> 36 37 38 #include < stdio.h>39 #include <string.h> 40 #include < ctype.h>36 #include <iprt/string.h> 37 #include <iprt/ctype.h> 38 #include <iprt/stream.h> 39 40 #include <stdio.h> /** @todo get rid of this. */ 41 41 42 42 … … 89 89 if (*psz != '/') 90 90 { 91 printf("%s(%d): error: key path must start with slash.\n", pArgs->pszFilename, iLine);91 RTPrintf("%s(%d): error: key path must start with slash.\n", pArgs->pszFilename, iLine); 92 92 return VERR_GENERAL_FAILURE; 93 93 } … … 95 95 if (!pszEnd) 96 96 { 97 printf("%s(%d): error: missing ']'.\n", pArgs->pszFilename, iLine);97 RTPrintf("%s(%d): error: missing ']'.\n", pArgs->pszFilename, iLine); 98 98 return VERR_GENERAL_FAILURE; 99 99 } … … 119 119 { 120 120 *pszCurEnd = '/'; 121 printf("%s(%d): error: failed to create node '%s', rc=%d.\n", pArgs->pszFilename, iLine, psz, rc);121 RTPrintf("%s(%d): error: failed to create node '%s', rc=%d.\n", pArgs->pszFilename, iLine, psz, rc); 122 122 return rc; 123 123 } … … 146 146 if (!pszNameEnd) 147 147 { 148 printf("%s(%d): error: unbalanced quote.\n", pArgs->pszFilename, iLine);148 RTPrintf("%s(%d): error: unbalanced quote.\n", pArgs->pszFilename, iLine); 149 149 return VERR_GENERAL_FAILURE; 150 150 } … … 163 163 if (!pszNameEnd) 164 164 { 165 printf("%s(%d): error: missing '='.\n", pArgs->pszFilename, iLine);165 RTPrintf("%s(%d): error: missing '='.\n", pArgs->pszFilename, iLine); 166 166 return VERR_GENERAL_FAILURE; 167 167 } … … 172 172 if (!pszNameEnd) 173 173 { 174 printf("%s(%d): error: missing '<'.\n", pArgs->pszFilename, iLine);174 RTPrintf("%s(%d): error: missing '<'.\n", pArgs->pszFilename, iLine); 175 175 return VERR_GENERAL_FAILURE; 176 176 } … … 178 178 if (pszName == pszNameEnd) 179 179 { 180 printf("%s(%d): error: empty value name.\n", pArgs->pszFilename, iLine);180 RTPrintf("%s(%d): error: empty value name.\n", pArgs->pszFilename, iLine); 181 181 return VERR_GENERAL_FAILURE; 182 182 } … … 185 185 if (!psz) 186 186 { 187 printf("%s(%d): error: missing '='.\n", pArgs->pszFilename, iLine);187 RTPrintf("%s(%d): error: missing '='.\n", pArgs->pszFilename, iLine); 188 188 return VERR_GENERAL_FAILURE; 189 189 } … … 204 204 if (!pszValueEnd) 205 205 { 206 printf("%s(%d): error: unbalanced quote in string value.\n", pArgs->pszFilename, iLine);206 RTPrintf("%s(%d): error: unbalanced quote in string value.\n", pArgs->pszFilename, iLine); 207 207 return VERR_GENERAL_FAILURE; 208 208 } … … 217 217 if (VBOX_FAILURE(rc)) 218 218 { 219 printf("%s(%d): error: failed to insert string value named '%s' and with value '%s', rc=%d.\n",220 pArgs->pszFilename, iLine, pszName, psz, rc);219 RTPrintf("%s(%d): error: failed to insert string value named '%s' and with value '%s', rc=%d.\n", 220 pArgs->pszFilename, iLine, pszName, psz, rc); 221 221 return rc; 222 222 } … … 227 227 { 228 228 /* byte string */ 229 printf("%s(%d): error: byte string is not implemented\n", pArgs->pszFilename, iLine);229 RTPrintf("%s(%d): error: byte string is not implemented\n", pArgs->pszFilename, iLine); 230 230 return VERR_GENERAL_FAILURE; 231 231 } … … 255 255 if (isalpha(*psz)) 256 256 { 257 printf("%s(%d): error: unexpected char(s) after number '%.10s'\n", pArgs->pszFilename, iLine, psz);257 RTPrintf("%s(%d): error: unexpected char(s) after number '%.10s'\n", pArgs->pszFilename, iLine, psz); 258 258 return VERR_GENERAL_FAILURE; 259 259 } … … 262 262 if (VBOX_FAILURE(rc)) 263 263 { 264 printf("%s(%d): error: failed to insert integer value named '%s' and with value %#llx, rc=%d.\n",265 pArgs->pszFilename, iLine, pszName, u64, rc);264 RTPrintf("%s(%d): error: failed to insert integer value named '%s' and with value %#llx, rc=%d.\n", 265 pArgs->pszFilename, iLine, pszName, u64, rc); 266 266 return rc; 267 267 } … … 269 269 else 270 270 { 271 printf("%s(%d): error: unknown value format.\n", pArgs->pszFilename, iLine);271 RTPrintf("%s(%d): error: unknown value format.\n", pArgs->pszFilename, iLine); 272 272 return VERR_GENERAL_FAILURE; 273 273 } … … 306 306 if (Args.pszFilename) 307 307 { 308 printf("syntax error: only one config argument!\n");308 RTPrintf("syntax error: only one config argument!\n"); 309 309 return 1; 310 310 } 311 311 if (i + 1 >= argc) 312 312 { 313 printf("syntax error: no configuration filename!\n");313 RTPrintf("syntax error: no configuration filename!\n"); 314 314 return 1; 315 315 } … … 318 318 if (!Args.pFile) 319 319 { 320 printf("%s: Failed to open '%s' for reading!\n", TESTCASE, Args.pszFilename);320 RTPrintf("%s: Failed to open '%s' for reading!\n", TESTCASE, Args.pszFilename); 321 321 return 1; 322 322 } … … 327 327 || (*psz == 'h' && !psz[1])) 328 328 { 329 printf("syntax: %s [options]\n"330 "\n"331 "options (prefixed with a dash or two)\n"332 " config <filename> Load the flat config file.\n"333 " help This help text.\n", argv[0]);329 RTPrintf("syntax: %s [options]\n" 330 "\n" 331 "options (prefixed with a dash or two)\n" 332 " config <filename> Load the flat config file.\n" 333 " help This help text.\n", argv[0]); 334 334 return 1; 335 335 } 336 336 else 337 337 { 338 printf("syntax error: unknown option '%s' in arg %d.\n", psz, i);338 RTPrintf("syntax error: unknown option '%s' in arg %d.\n", psz, i); 339 339 return 1; 340 340 } … … 343 343 else 344 344 { 345 printf("syntax error: Sorry dude, no idea what you're passing to me.\n"346 " arg %d '%s'\n", i, argv[i]);345 RTPrintf("syntax error: Sorry dude, no idea what you're passing to me.\n" 346 " arg %d '%s'\n", i, argv[i]); 347 347 return 1; 348 348 } … … 370 370 if (VBOX_SUCCESS(rc)) 371 371 { 372 printf(TESTCASE ": info: VMR3PowerOn succeeded. rc=%d\n", rc);373 printf(TESTCASE ": info: main thread is taking a nap...\n");372 RTPrintf(TESTCASE ": info: VMR3PowerOn succeeded. rc=%d\n", rc); 373 RTPrintf(TESTCASE ": info: main thread is taking a nap...\n"); 374 374 rc = RTThreadSleep(8*3600*1000); /* 8 hours */ 375 printf(TESTCASE ": info: main thread is woke up... rc=%d\n", rc);375 RTPrintf(TESTCASE ": info: main thread is woke up... rc=%d\n", rc); 376 376 377 377 /* … … 384 384 VMR3ReqFree(pReq); 385 385 if (VBOX_SUCCESS(rc)) 386 printf(TESTCASE ": info: Successfully powered off the VM. rc=%d\n", rc);386 RTPrintf(TESTCASE ": info: Successfully powered off the VM. rc=%d\n", rc); 387 387 else 388 388 { 389 printf(TESTCASE ": error: VMR3PowerOff -> %d\n", rc);389 RTPrintf(TESTCASE ": error: VMR3PowerOff -> %d\n", rc); 390 390 rcRet++; 391 391 } … … 393 393 else 394 394 { 395 printf(TESTCASE ": error: VMR3ReqCall (power off) -> %d\n", rc);395 RTPrintf(TESTCASE ": error: VMR3ReqCall (power off) -> %d\n", rc); 396 396 rcRet++; 397 397 } … … 400 400 else 401 401 { 402 printf(TESTCASE ": error: VMR3ReqCall (power on) -> %d\n", rc);402 RTPrintf(TESTCASE ": error: VMR3ReqCall (power on) -> %d\n", rc); 403 403 rcRet++; 404 404 } … … 411 411 if (!VBOX_SUCCESS(rc)) 412 412 { 413 printf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc);413 RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc); 414 414 rcRet++; 415 415 } … … 417 417 else 418 418 { 419 printf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc);419 RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc); 420 420 rcRet++; 421 421 } -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstVMM.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM Testcase. 4 4 */ … … 35 35 36 36 37 #include <stdio.h>38 39 40 37 /******************************************************************************* 41 38 * Defined Constants And Macros * … … 44 41 45 42 VMMR3DECL(int) VMMDoTest(PVM pVM); 43 46 44 47 45 int main(int argc, char **argv) … … 76 74 if (!VBOX_SUCCESS(rc)) 77 75 { 78 printf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc);76 RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%d\n", rc); 79 77 rcRet++; 80 78 } … … 82 80 else 83 81 { 84 printf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc);82 RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%d\n", rc); 85 83 rcRet++; 86 84 } -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstVMMR0CallHost-1.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Testcase for the VMMR0JMPBUF operations. 4 4 */ -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/testcase/tstVMREQ.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM Testcase. 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
-
Property svn:keywords
set to
Id
r1 r23 1 /* $Id$ */ 1 2 /** @file 3 * tstVMMStructGC - Generate structure member and size checks from the GC perspective. 2 4 * 3 * tstVMMStructGC - Generate structure member and size checks from the GC 4 * perspective. This is built using the VBOXGC template 5 * but linked into a host ring-3 executable, rather hacky. 5 * This is built using the VBOXGC template but linked into a host 6 * ring-3 executable, rather hacky. 6 7 */ 7 8 … … 196 197 #ifdef VBOX_WITH_PDM_LOCK 197 198 GEN_CHECK_OFF(PDM, CritSect); 198 #endif 199 #endif 199 200 GEN_CHECK_OFF(PDM, StatQueuedCritSectLeaves); 200 201 -
Property svn:keywords
set to
-
trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Context switcher macros & definitions 4 4 */ -
Property svn:keywords
changed from
-
trunk/src/VBox/VMM/x86context.h
-
Property svn:keywords
changed from
Author Date Id Revision
toId
r1 r23 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VMM - Context switcher macros & definitions 4 4 */ -
Property svn:keywords
changed from
Note:
See TracChangeset
for help on using the changeset viewer.