diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-25 12:21:57 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-25 12:21:57 +0000 |
commit | 42eedea958591087603bbacd1c2227d2494026af (patch) | |
tree | 2213bd86a2a23738bf9caeb10f48df6ad5a1986b /MdePkg/Library/BaseLib/Ia32/ReadCr4.c | |
parent | 0f82bd55142af193e669e76fcaf02f8d835f3f39 (diff) | |
download | edk2-42eedea958591087603bbacd1c2227d2494026af.tar.gz edk2-42eedea958591087603bbacd1c2227d2494026af.tar.bz2 edk2-42eedea958591087603bbacd1c2227d2494026af.zip |
Code Scrub for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5567 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadCr4.c')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/ReadCr4.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadCr4.c b/MdePkg/Library/BaseLib/Ia32/ReadCr4.c index 71ffa9b72d..5d24f57038 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadCr4.c +++ b/MdePkg/Library/BaseLib/Ia32/ReadCr4.c @@ -17,6 +17,16 @@ //
+/**
+ Reads the current value of the Control Register 4 (CR4).
+
+ Reads and returns the current value of CR4. This function is only available
+ on IA-32 and X64. This returns a 32-bit value on IA-32 and a 64-bit value on
+ X64.
+
+ @return The value of the Control Register 4 (CR4).
+
+**/
UINTN
EFIAPI
AsmReadCr4 (
|