summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-08-29 10:46:17 +0800
committerHao Wu <hao.a.wu@intel.com>2017-08-30 13:36:51 +0800
commit821f24b1283667de391215a2f0c8662ca2fd097d (patch)
treee590f2c140946d77f6e83395d722224894cf641f /UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
parentf72df3568f780c9f2a8f5b16cacb1b72b75750d8 (diff)
downloadedk2-821f24b1283667de391215a2f0c8662ca2fd097d.tar.gz
edk2-821f24b1283667de391215a2f0c8662ca2fd097d.tar.bz2
edk2-821f24b1283667de391215a2f0c8662ca2fd097d.zip
UefiCpuPkg/CpuCommonFeaturesLib: Remove unnecessary explicit type cast
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c')
-rw-r--r--UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c b/UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
index 167c1be424..8a12080cfb 100644
--- a/UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
+++ b/UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
@@ -323,7 +323,7 @@ ProcTraceInitialize (
// Program the Mask bits for the Memory Region to MSR IA32_RTIT_OUTPUT_MASK_PTRS (561h)
//
OutputMaskPtrsReg.Bits.MaskOrTableOffset = ((MemRegionSize - 1) >> 7) & 0x01FFFFFF;
- OutputMaskPtrsReg.Bits.OutputOffset = RShiftU64 ((UINT64) (MemRegionSize - 1), 32) & 0xFFFFFFFF;
+ OutputMaskPtrsReg.Bits.OutputOffset = RShiftU64 (MemRegionSize - 1, 32) & 0xFFFFFFFF;
CPU_REGISTER_TABLE_WRITE64 (
ProcessorNumber,
Msr,