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
This commit is contained in:
xli24 2008-09-02 05:54:48 +00:00
parent 19e14fc9d9
commit 201c76681b
1 changed files with 2 additions and 1 deletions

View File

@ -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,