From 809177f5e90bba5883d9d4e108a5c38b7c8ac954 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Fri, 24 Aug 2007 03:45:32 +0000 Subject: [PATCH] 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 --- MdePkg/Include/IndustryStandard/Sal.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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