diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-24 03:45:32 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-24 03:45:32 +0000 |
commit | 809177f5e90bba5883d9d4e108a5c38b7c8ac954 (patch) | |
tree | 2cc60bd73312c533992da2a90baa6c927ee10411 | |
parent | 90e54a49a51e3128760fbd70097d03b450e5cb34 (diff) | |
download | edk2-platforms-809177f5e90bba5883d9d4e108a5c38b7c8ac954.tar.xz |
Add #defines for the SAL System Table entry sizes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3705 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/IndustryStandard/Sal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Sal.h b/MdePkg/Include/IndustryStandard/Sal.h index 6fac68c573..c66cbb97ef 100644 --- a/MdePkg/Include/IndustryStandard/Sal.h +++ b/MdePkg/Include/IndustryStandard/Sal.h @@ -235,6 +235,16 @@ typedef struct { #define EFI_SAL_ST_PTC 4
#define EFI_SAL_ST_AP_WAKEUP 5
+//
+// SAL System Type Sizes
+//
+#define EFI_SAL_ST_ENTRY_POINT_SIZE 48
+#define EFI_SAL_ST_MEMORY_DESCRIPTOR_SIZE 32
+#define EFI_SAL_ST_PLATFORM_FEATURES_SIZE 16
+#define EFI_SAL_ST_TR_USAGE_SIZE 32
+#define EFI_SAL_ST_PTC_SIZE 16
+#define EFI_SAL_ST_AP_WAKEUP_SIZE 16
+
#pragma pack(1)
typedef struct {
UINT8 Type; // Type == 0
|