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:
		@@ -139,7 +139,7 @@ EFIAPI
 | 
				
			|||||||
EfiGetVariable (
 | 
					EfiGetVariable (
 | 
				
			||||||
  IN      CHAR16                   *VariableName,
 | 
					  IN      CHAR16                   *VariableName,
 | 
				
			||||||
  IN      EFI_GUID                 *VendorGuid,
 | 
					  IN      EFI_GUID                 *VendorGuid,
 | 
				
			||||||
  OUT     UINT32                   *Attributes,
 | 
					  OUT     UINT32                   *Attributes OPTIONAL,
 | 
				
			||||||
  IN OUT  UINTN                    *DataSize,
 | 
					  IN OUT  UINTN                    *DataSize,
 | 
				
			||||||
  OUT     VOID                     *Data
 | 
					  OUT     VOID                     *Data
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
@@ -220,6 +220,7 @@ EfiGetNextHighMonotonicCount (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
**/
 | 
					**/
 | 
				
			||||||
VOID
 | 
					VOID
 | 
				
			||||||
 | 
					EFIAPI
 | 
				
			||||||
EfiResetSystem (
 | 
					EfiResetSystem (
 | 
				
			||||||
  IN EFI_RESET_TYPE               ResetType,
 | 
					  IN EFI_RESET_TYPE               ResetType,
 | 
				
			||||||
  IN EFI_STATUS                   ResetStatus,
 | 
					  IN EFI_STATUS                   ResetStatus,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user