Changeset 41321 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 15, 2012 8:11:21 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77991
- Location:
- trunk/src/VBox/VMM/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstMicro.cpp
r38636 r41321 322 322 RTPrintf("\n"); 323 323 PrintHeaderTraps(); 324 /* don't disable rdtsc in R1/R2/R3! */ 325 CPUMR3SetCR4Feature(pVM, 0, ~X86_CR4_TSD); 324 326 for (i = TSTMICROTEST_TRAP_FIRST; i < TSTMICROTEST_MAX; i++) 325 327 { … … 358 360 * Cleanup. 359 361 */ 362 rc = VMR3PowerOff(pVM); 363 if (!RT_SUCCESS(rc)) 364 { 365 RTPrintf(TESTCASE ": error: failed to power off vm! rc=%Rrc\n", rc); 366 rcRet++; 367 } 360 368 rc = VMR3Destroy(pVM); 361 369 if (!RT_SUCCESS(rc)) 362 370 { 363 RTPrintf(TESTCASE ": error: failed to destroy vm! rc=% d\n", rc);371 RTPrintf(TESTCASE ": error: failed to destroy vm! rc=%Rrc\n", rc); 364 372 rcRet++; 365 373 } … … 367 375 else 368 376 { 369 RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=% d\n", rc);377 RTPrintf(TESTCASE ": fatal error: failed to create vm! rc=%Rrc\n", rc); 370 378 rcRet++; 371 379 } -
trunk/src/VBox/VMM/testcase/tstMicroRCA.asm
r37955 r41321 295 295 296 296 ; Setup iret to execute r1 code. 297 mov eax, 02069h ; load ds and es with r3selectors.297 mov eax, 02069h ; load ds and es with R1 selectors. 298 298 mov es, eax 299 299 mov ds, eax … … 309 309 iret 310 310 311 ; R 3code311 ; R1 code 312 312 tstPTR1_R1: 313 313 RDTSC_ECX_EBP ; ebp:ecx - Rx enter time (0:0). … … 335 335 336 336 ; Setup iret to execute r2 code. 337 mov eax, 0206ah ; load ds and es with r3selectors.337 mov eax, 0206ah ; load ds and es with R2 selectors. 338 338 mov es, eax 339 339 mov ds, eax … … 349 349 iret 350 350 351 ; R 3code351 ; R2 code 352 352 tstPTR2_R2: 353 353 RDTSC_ECX_EBP ; ebp:ecx - Rx enter time (0:0). … … 375 375 376 376 ; Setup iret to execute r3 code. 377 mov eax, 0306bh ; load ds and es with r3 selectors.377 mov eax, 0306bh ; load ds and es with R3 selectors. 378 378 mov es, eax 379 379 mov ds, eax
Note:
See TracChangeset
for help on using the changeset viewer.