Add UEFI 2.5 Properties table definition.
authorYao, Jiewen <Jiewen.yao@intel.com>
Fri, 5 Jun 2015 12:03:09 +0000 (12:03 +0000)
committerjyao1 <jyao1@Edk2>
Fri, 5 Jun 2015 12:03:09 +0000 (12:03 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: "Yao, Jiewen" <Jiewen.yao@intel.com>
Reviewed-by: "Zeng, Star" <Star.Zeng@intel.com>
Reviewed-by: "Gao, Liming" <Liming.Gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17563 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Guid/PropertiesTable.h [new file with mode: 0644]
MdePkg/MdePkg.dec

diff --git a/MdePkg/Include/Guid/PropertiesTable.h b/MdePkg/Include/Guid/PropertiesTable.h
new file mode 100644 (file)
index 0000000..b8e3550
--- /dev/null
@@ -0,0 +1,37 @@
+/** @file\r
+  GUIDs used for UEFI Properties Table in the UEFI 2.5 specification.\r
+\r
+  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __EFI_PROPERTIES_TABLE_H__\r
+#define __EFI_PROPERTIES_TABLE_H__\r
+\r
+#define EFI_PROPERTIES_TABLE_GUID {\\r
+  0x880aaca3, 0x4adc, 0x4a04, {0x90, 0x79, 0xb7, 0x47, 0x34, 0x8, 0x25, 0xe5} \\r
+}\r
+\r
+typedef struct {\r
+  UINT32    Version;\r
+  UINT32    Length;\r
+  UINT64    MemoryProtectionAttribute;\r
+} EFI_PROPERTIES_TABLE;\r
+\r
+#define EFI_PROPERTIES_TABLE_VERSION  0x00010000\r
+\r
+//\r
+// Memory attribute (Not defined bit is reserved)\r
+//\r
+#define EFI_PROPERTIES_RUNTIME_MEMORY_PROTECTION_NON_EXECUTABLE_PE_DATA        0x1\r
+\r
+extern EFI_GUID gEfiPropertiesTableGuid;\r
+\r
+#endif\r
index 245b689..ff5908b 100644 (file)
   #\r
   # GUIDs defined in UEFI2.5\r
   #\r
+  \r
+  ## Include/Guid/PropertiesTable.h\r
+  gEfiPropertiesTableGuid        = { 0x880aaca3, 0x4adc, 0x4a04, {0x90, 0x79, 0xb7, 0x47, 0x34, 0x8, 0x25, 0xe5 }}\r
+\r
   ## Include/Guid/SystemResourceTable.h\r
   gEfiSystemResourceTableGuid    = { 0xb122a263, 0x3661, 0x4f68, {0x99, 0x29, 0x78, 0xf8, 0xb0, 0xd6, 0x21, 0x80 }}\r
 \r