Changeset 7016 in vbox for trunk/src/VBox
- Timestamp:
- Feb 19, 2008 1:32:39 PM (17 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdr-2.cpp
r5999 r7016 118 118 if (off < cb) 119 119 { 120 DISCPUSTATE Cpu = {0}; 120 DISCPUSTATE Cpu; 121 122 memset(&Cpu, 0, sizeof(Cpu)); 121 123 Cpu.mode = CPUMODE_32BIT; 122 124 if (MyDisBlock(&Cpu, (RTUINTPTR)pvBits + off, 200, Addr - (uintptr_t)pvBits)) -
trunk/src/VBox/Runtime/testcase/tstLdr-3.cpp
r5999 r7016 208 208 if (NearSym.Addr - NearSym.aSyms[0].Value < 0x10000) 209 209 { 210 DISCPUSTATE Cpu = {0}; 210 DISCPUSTATE Cpu; 211 memset(&Cpu, 0, sizeof(Cpu)); 211 212 Cpu.mode = CPUMODE_32BIT; 212 213 uint8_t *pbCode = (uint8_t *)pvBits + (NearSym.aSyms[0].Value - LoadAddr); -
trunk/src/VBox/Runtime/testcase/tstLdrDisasmTest.cpp
r5999 r7016 110 110 extern "C" DECLEXPORT(int) DisasmTest1(void) 111 111 { 112 DISCPUSTATE Cpu = {0};112 DISCPUSTATE Cpu; 113 113 uintptr_t CodeIndex = 0; 114 114 uint32_t cb; 115 115 int rc; 116 116 MY_PRINTF(("DisasmTest1: %p\n", &DisasmTest1)); 117 118 memset(&Cpu, 0, sizeof(Cpu)); 119 Cpu.mode = CPUMODE_32BIT; 117 120 118 121 #define DISAS_AND_CHECK(cbInstr, enmOp) \ -
trunk/src/VBox/Runtime/testcase/tstLdrObj.cpp
r5999 r7016 95 95 { 96 96 static unsigned cb; 97 DISCPUSTATE Cpu = {0}; 97 DISCPUSTATE Cpu; 98 memset(&Cpu, 0, sizeof(Cpu)); 99 Cpu.mode = CPUMODE_32BIT; 98 100 DISCoreOne(&Cpu, (RTGCUINTPTR)SomeExportFunction3, &cb); 99 101 return (void *)(uintptr_t)&SomeExportFunction1; -
trunk/src/VBox/Runtime/testcase/tstLdrObjR0.cpp
r5999 r7016 90 90 { 91 91 static unsigned cb; 92 DISCPUSTATE Cpu = {0}; 92 DISCPUSTATE Cpu; 93 94 memset(&Cpu, 0, sizeof(Cpu)); 95 Cpu.mode = CPUMODE_32BIT; 96 93 97 DISCoreOne(&Cpu, (uintptr_t)SomeExportFunction3, &cb); 94 98 return (void *)(uintptr_t)&SomeExportFunction1;
Note:
See TracChangeset
for help on using the changeset viewer.