From a534d7148079f71f932e963d836c731559491021 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 31 Mar 2011 12:18:28 +0000 Subject: ArmPlatformPkg/ArmPlatformLib: Introduce the function ArmPlatformGetBootMode() This function returns the current Boot Mode of the ARM Platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11480 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Include/Library/ArmPlatformLib.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ArmPlatformPkg/Include') diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h index c9b215e6dc..83c19baabd 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -67,6 +67,19 @@ VOID ArmPlatformIsMemoryInitialized(VOID); **/ VOID ArmPlatformInitializeBootMemory(VOID); +/** + Return the current Boot Mode + + This function returns the boot reason on the platform + + @return Return the current Boot Mode of the platform + +**/ +EFI_BOOT_MODE +ArmPlatformGetBootMode ( + VOID + ); + /** Initialize controllers that must setup at the early stage -- cgit v1.2.3