summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-02 05:54:48 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-02 05:54:48 +0000
commit201c76681b80b5762b7cf282c4293d9382d00c2b (patch)
treead476e0f650b9896244c325d815c6f3017095adc /MdePkg/Include
parent19e14fc9d947eccdfcfe2d1464dfac791015b465 (diff)
downloadedk2-platforms-201c76681b80b5762b7cf282c4293d9382d00c2b.tar.xz
Fix 2 flaws in MdePkg/Include/Library/UefiRuntimeLib.h:
1. Add OPTIONAL modifier for parameter Attributes of EfiGetVariable() 2. Add EFIAPI modifier for EfiResetSystem() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5775 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Library/UefiRuntimeLib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/UefiRuntimeLib.h b/MdePkg/Include/Library/UefiRuntimeLib.h
index f4b63f4b90..396dc781d0 100644
--- a/MdePkg/Include/Library/UefiRuntimeLib.h
+++ b/MdePkg/Include/Library/UefiRuntimeLib.h
@@ -139,7 +139,7 @@ EFIAPI
EfiGetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
- OUT UINT32 *Attributes,
+ OUT UINT32 *Attributes OPTIONAL,
IN OUT UINTN *DataSize,
OUT VOID *Data
);
@@ -220,6 +220,7 @@ EfiGetNextHighMonotonicCount (
**/
VOID
+EFIAPI
EfiResetSystem (
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus,