aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/EmbeddedPkg/Include/Library/PrePiHobListPointerLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/EmbeddedPkg/Include/Library/PrePiHobListPointerLib.h')
-rw-r--r--roms/edk2/EmbeddedPkg/Include/Library/PrePiHobListPointerLib.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/roms/edk2/EmbeddedPkg/Include/Library/PrePiHobListPointerLib.h b/roms/edk2/EmbeddedPkg/Include/Library/PrePiHobListPointerLib.h
new file mode 100644
index 000000000..cf26f08c0
--- /dev/null
+++ b/roms/edk2/EmbeddedPkg/Include/Library/PrePiHobListPointerLib.h
@@ -0,0 +1,38 @@
+/** @file
+*
+* Copyright (c) 2011, ARM Limited. All rights reserved.
+*
+* SPDX-License-Identifier: BSD-2-Clause-Patent
+*
+**/
+
+#ifndef __PREPI_HOBLIST_POINTER_LIB_H__
+#define __PREPI_HOBLIST_POINTER_LIB_H__
+
+/**
+ Returns the pointer to the HOB list.
+
+ This function returns the pointer to first HOB in the list.
+
+ @return The pointer to the HOB list.
+
+**/
+VOID *
+EFIAPI
+PrePeiGetHobList (
+ VOID
+ );
+
+/**
+ Updates the pointer to the HOB list.
+
+ @param HobList Hob list pointer to store
+
+**/
+EFI_STATUS
+EFIAPI
+PrePeiSetHobList (
+ IN VOID *HobList
+ );
+
+#endif