]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Add PrePiHob.h
authorMin M Xu <min.m.xu@intel.com>
Tue, 1 Nov 2022 05:13:40 +0000 (13:13 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 1 Nov 2022 10:08:10 +0000 (10:08 +0000)
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3937

BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED is defined for unaccepted memory.
But this defitinion has not been officially in the PI spec. Base
on the code-first we define BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED at
MdeModulePkg/Include/Pi/PrePiHob.h.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Min Xu <min.m.xu@intel.com>
MdeModulePkg/Include/Pi/PrePiHob.h [new file with mode: 0644]

diff --git a/MdeModulePkg/Include/Pi/PrePiHob.h b/MdeModulePkg/Include/Pi/PrePiHob.h
new file mode 100644 (file)
index 0000000..ac575e5
--- /dev/null
@@ -0,0 +1,20 @@
+/** @file\r
+  HOB related definitions which has not been officially published in PI.\r
+\r
+Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef MDE_MODULEPKG_PRE_PI_HOB_H_\r
+#define MDE_MODULEPKG_PRE_PI_HOB_H_\r
+\r
+//\r
+// BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED is defined for unaccepted memory.\r
+// But this defitinion has not been officially in the PI spec. Base\r
+// on the code-first we define BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED at\r
+// MdeModulePkg/Include/Pi/PrePiHob.h.\r
+//\r
+#define BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED  0x00000007\r
+\r
+#endif\r