X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadMsr64.c;fp=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadMsr64.c;h=837595c9b121f6896a2e78f4d264ea15c3ab74e5;hp=afe3aa5bdc9a7e6be475b48c9edb89925ec7bc38;hb=2f88bd3a1296c522317f1c21377876de63de5be7;hpb=1436aea4d5707e672672a11bda72be2c63c936c3 diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c index afe3aa5bdc..837595c9b1 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c +++ b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c @@ -6,7 +6,6 @@ **/ - #include /** @@ -54,13 +53,14 @@ AsmReadMsr64 ( IN UINT32 Index ) { - UINT64 Value; - BOOLEAN Flag; + UINT64 Value; + BOOLEAN Flag; Flag = FilterBeforeMsrRead (Index, &Value); if (Flag) { Value = AsmReadMsr64Internal (Index); } + FilterAfterMsrRead (Index, &Value); return Value;