summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINDIA\sachinganesh <sachinganesh@ami.com>2024-12-09 14:28:09 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-31 19:30:28 +0000
commit12ceee664a1449433ca91f002b91ad8c9bc00fbc (patch)
tree0b34b40e1e5ebf19ff74183af08bbfe1e9ad2430
parent62cd7d338b389aa21c00f0fc35f14a6fa9ba23b0 (diff)
downloadedk2-12ceee664a1449433ca91f002b91ad8c9bc00fbc.tar.gz
MdePkg: Add HotPlug Memory Attribute
UEFI 2.11 Specification defines new memory attribute for hot plug. Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
-rw-r--r--MdePkg/Include/Uefi/UefiSpec.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 69c97bdb2a..fb464a405f 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -106,6 +106,16 @@ typedef enum {
#define EFI_MEMORY_CPU_CRYPTO 0x0000000000080000ULL
//
+// If this flag is set, the memory region is present and capable of having
+// memory dynamically removed from the platform. This attribute serves as
+// a hint to the OS prior to its ACPI subsystem initialization to avoid
+// allocating this memory for core OS data or code that cannot be dynamically
+// relocated at runtime. If this flag is clear, the memory region is not
+// capable of being dynamically removed from the platform at runtime.
+//
+#define EFI_MEMORY_HOT_PLUGGABLE 0x0000000000100000
+
+//
// Runtime memory attribute
//
#define EFI_MEMORY_RUNTIME 0x8000000000000000ULL