summaryrefslogtreecommitdiff
path: root/ArmPkg
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2015-05-05 14:58:57 +0000
committeroliviermartin <oliviermartin@Edk2>2015-05-05 14:58:57 +0000
commitcc053ee6daf81059f313a9591274c239b6e4c7cd (patch)
tree67f29b9cbbd45d6c9fa88a98a3e45a86366d065b /ArmPkg
parentb330087bab35a402d63a1c43dcf1f6b3de24b2df (diff)
downloadedk2-platforms-cc053ee6daf81059f313a9591274c239b6e4c7cd.tar.xz
ArmPkg/BdsLib: Exposed ShutdownUefiBootServices() in the BdsLib interface
Other libraries/modules could use it (eg: EFI Shell command `runaxf`). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Ronald Cron <Ronald.Cron@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17297 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r--ArmPkg/Include/Library/BdsLib.h10
-rw-r--r--ArmPkg/Library/BdsLib/BdsInternal.h5
2 files changed, 9 insertions, 6 deletions
diff --git a/ArmPkg/Include/Library/BdsLib.h b/ArmPkg/Include/Library/BdsLib.h
index 68dbfd57f2..eb7f8f293f 100644
--- a/ArmPkg/Include/Library/BdsLib.h
+++ b/ArmPkg/Include/Library/BdsLib.h
@@ -1,6 +1,6 @@
/** @file
*
-* Copyright (c) 2013, ARM Limited. All rights reserved.
+* Copyright (c) 2013-2015, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
@@ -221,4 +221,12 @@ BdsLoadImage (
OUT UINTN *FileSize
);
+/**
+ * Call BS.ExitBootServices with the appropriate Memory Map information
+ */
+EFI_STATUS
+ShutdownUefiBootServices (
+ VOID
+ );
+
#endif
diff --git a/ArmPkg/Library/BdsLib/BdsInternal.h b/ArmPkg/Library/BdsLib/BdsInternal.h
index a29d8ccd8b..1fab2aed4a 100644
--- a/ArmPkg/Library/BdsLib/BdsInternal.h
+++ b/ArmPkg/Library/BdsLib/BdsInternal.h
@@ -104,11 +104,6 @@ typedef struct {
// BdsHelper.c
EFI_STATUS
-ShutdownUefiBootServices (
- VOID
- );
-
-EFI_STATUS
GetSystemMemoryResources (
LIST_ENTRY *ResourceList
);