Changeset 97692 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 28, 2022 10:01:37 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-basic-2-x0.c
r97689 r97692 5498 5498 g_usBs3TestStep++; /* 6 */ 5499 5499 5500 /* Again with a single globally enabled breakpoint . */5501 //Bs3TestPrintf("bp 2/g ...\n");5502 Bs3RegSetDr0( 0);5503 //Bs3RegSetDr1(0);5500 /* Again with a single globally enabled breakpoint and serveral other types of breakpoints configured but not enabled. */ 5501 //Bs3TestPrintf("bp 2/g+...\n"); 5502 Bs3RegSetDr0(uFlatDst); 5503 Bs3RegSetDr1(uFlatDst); 5504 5504 Bs3RegSetDr2(uFlatDst); 5505 //Bs3RegSetDr3(0);5505 Bs3RegSetDr3(uFlatDst); 5506 5506 Bs3RegSetDr6(X86_DR6_INIT_VAL | X86_DR6_BS | X86_DR6_BD | X86_DR6_BT | X86_DR6_B2); 5507 5507 Bs3RegSetDr7(X86_DR7_INIT_VAL 5508 | X86_DR7_RW(2, X86_DR7_RW_EO) | X86_DR7_LEN(2, X86_DR7_LEN_BYTE) | X86_DR7_G(2)); 5508 | X86_DR7_RW(0, X86_DR7_RW_RW) | X86_DR7_LEN(0, X86_DR7_LEN_BYTE) 5509 | X86_DR7_RW(1, X86_DR7_RW_RW) | X86_DR7_LEN(1, X86_DR7_LEN_BYTE) | X86_DR7_L_G(1) 5510 | X86_DR7_RW(2, X86_DR7_RW_EO) | X86_DR7_LEN(2, X86_DR7_LEN_BYTE) | X86_DR7_G(2) 5511 | X86_DR7_RW(3, X86_DR7_RW_WO) | X86_DR7_LEN(3, X86_DR7_LEN_BYTE) | X86_DR7_G(3) 5512 ); 5509 5513 bs3CpuBasic2_retf_PrepStack(StkPtr, cbStkItem, s_aSubTests[iSubTest].uDstCs, s_aSubTests[iSubTest].offDst, 5510 5514 s_aSubTests[iSubTest].fInterPriv, s_aTests[iTest].cbImm, … … 5517 5521 bs3CpuBasic2_CompareGpCtx(&TrapCtx, &CtxExpected, s_aSubTests[iSubTest].uErrCd); 5518 5522 g_usBs3TestStep++; /* 7 */ 5519 5520 5523 5521 5524 /* Now do single stepping: */
Note:
See TracChangeset
for help on using the changeset viewer.