Home
last modified time | relevance | path

Searched refs:DebugCtl (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmmProfile.c1016 UINT64 DebugCtl; in ActivateLBR() local
1018 DebugCtl = AsmReadMsr64 (MSR_DEBUG_CTL); in ActivateLBR()
1019 if ((DebugCtl & MSR_DEBUG_CTL_LBR) != 0) { in ActivateLBR()
1022 DebugCtl |= MSR_DEBUG_CTL_LBR; in ActivateLBR()
1023 AsmWriteMsr64 (MSR_DEBUG_CTL, DebugCtl); in ActivateLBR()
1037 UINT64 DebugCtl; in ActivateBTS() local
1039 DebugCtl = AsmReadMsr64 (MSR_DEBUG_CTL); in ActivateBTS()
1040 if ((DebugCtl & MSR_DEBUG_CTL_BTS) != 0) { in ActivateBTS()
1045 DebugCtl |= (UINT64)(MSR_DEBUG_CTL_BTS | MSR_DEBUG_CTL_TR); in ActivateBTS()
1046 DebugCtl &= ~((UINT64)MSR_DEBUG_CTL_BTINT); in ActivateBTS()
[all …]