Revision: 17563
http://sourceforge.net/p/edk2/code/17563
Author: jyao1
Date: 2015-06-05 12:03:09 +0000 (Fri, 05 Jun 2015)
Log Message:
-----------
Add UEFI 2.5 Properties table definition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed-by: "Zeng, Star" <[email protected]>
Reviewed-by: "Gao, Liming" <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/MdePkg.dec
Added Paths:
-----------
trunk/edk2/MdePkg/Include/Guid/PropertiesTable.h
Added: trunk/edk2/MdePkg/Include/Guid/PropertiesTable.h
===================================================================
--- trunk/edk2/MdePkg/Include/Guid/PropertiesTable.h
(rev 0)
+++ trunk/edk2/MdePkg/Include/Guid/PropertiesTable.h 2015-06-05 12:03:09 UTC
(rev 17563)
@@ -0,0 +1,37 @@
+/** @file
+ GUIDs used for UEFI Properties Table in the UEFI 2.5 specification.
+
+ Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD
License
+ which accompanies this distribution. The full text of the license may be
found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __EFI_PROPERTIES_TABLE_H__
+#define __EFI_PROPERTIES_TABLE_H__
+
+#define EFI_PROPERTIES_TABLE_GUID {\
+ 0x880aaca3, 0x4adc, 0x4a04, {0x90, 0x79, 0xb7, 0x47, 0x34, 0x8, 0x25, 0xe5} \
+}
+
+typedef struct {
+ UINT32 Version;
+ UINT32 Length;
+ UINT64 MemoryProtectionAttribute;
+} EFI_PROPERTIES_TABLE;
+
+#define EFI_PROPERTIES_TABLE_VERSION 0x00010000
+
+//
+// Memory attribute (Not defined bit is reserved)
+//
+#define EFI_PROPERTIES_RUNTIME_MEMORY_PROTECTION_NON_EXECUTABLE_PE_DATA
0x1
+
+extern EFI_GUID gEfiPropertiesTableGuid;
+
+#endif
Modified: trunk/edk2/MdePkg/MdePkg.dec
===================================================================
--- trunk/edk2/MdePkg/MdePkg.dec 2015-06-05 03:22:08 UTC (rev 17562)
+++ trunk/edk2/MdePkg/MdePkg.dec 2015-06-05 12:03:09 UTC (rev 17563)
@@ -554,6 +554,10 @@
#
# GUIDs defined in UEFI2.5
#
+
+ ## Include/Guid/PropertiesTable.h
+ gEfiPropertiesTableGuid = { 0x880aaca3, 0x4adc, 0x4a04, {0x90, 0x79,
0xb7, 0x47, 0x34, 0x8, 0x25, 0xe5 }}
+
## Include/Guid/SystemResourceTable.h
gEfiSystemResourceTableGuid = { 0xb122a263, 0x3661, 0x4f68, {0x99, 0x29,
0x78, 0xf8, 0xb0, 0xd6, 0x21, 0x80 }}
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits