summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c
diff options
context:
space:
mode:
Diffstat (limited to 'UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c')
-rw-r--r--UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c b/UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c
new file mode 100644
index 0000000000..92d3e17ef0
--- /dev/null
+++ b/UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c
@@ -0,0 +1,20 @@
+/** @file
+ This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in
+ library's constructor.
+
+ Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+
+#include <Uefi.h>
+
+EFI_STATUS
+EFIAPI
+DxeHobListLibNullConstructor (
+ VOID
+ )
+{
+ return EFI_SUCCESS;
+}