X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FWriteCr4.c;h=548d30ee3141b0a101041c09d52a1345789cb501;hb=42eedea958591087603bbacd1c2227d2494026af;hp=04e7b0049162338e8de6fa9bef00131690c9dd55;hpb=0f82bd55142af193e669e76fcaf02f8d835f3f39;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/WriteCr4.c b/MdePkg/Library/BaseLib/Ia32/WriteCr4.c index 04e7b00491..548d30ee31 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteCr4.c +++ b/MdePkg/Library/BaseLib/Ia32/WriteCr4.c @@ -17,6 +17,17 @@ // +/** + Writes a value to Control Register 4 (CR4). + + Writes and returns a new value to CR4. This function is only available on + IA-32 and X64. This writes a 32-bit value on IA-32 and a 64-bit value on X64. + + @param Cr4 The value to write to CR4. + + @return The value written to CR4. + +**/ UINTN EFIAPI AsmWriteCr4 (