From 4e3f18617e859e370eb6c457061a4e33be77bb31 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Tue, 19 Dec 2006 00:22:38 +0000 Subject: Add FIT types from the SAL Spec to SalApi.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2112 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ipf/SalApi.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Ipf/SalApi.h b/MdePkg/Include/Ipf/SalApi.h index ae3c77bf08..1d62705d56 100644 --- a/MdePkg/Include/Ipf/SalApi.h +++ b/MdePkg/Include/Ipf/SalApi.h @@ -17,11 +17,27 @@ #ifndef __SAL_API_H__ #define __SAL_API_H__ -typedef UINTN EFI_SAL_STATUS; +// +// FIT Types +// Table 2-2 of Intel Itanium Processor Family System Abstraction Layer Specification December 2003 +// +#define EFI_SAL_FIT_FIT_HEADER_TYPE 0x00 +#define EFI_SAL_FIT_PAL_B_TYPE 0x01 +// +// type from 0x02 to 0x0E is reserved. +// +#define EFI_SAL_FIT_PAL_A_TYPE 0x0F +// +// OEM-defined type range is from 0x10 to 0x7E. Here we defined the PEI_CORE type as 0x10 +// +#define EFI_SAL_FIT_PEI_CORE_TYPE 0x10 +#define EFI_SAL_FIT_UNUSED_TYPE 0x7F // -// EFI_SAL_STATUS defines +// EFI_SAL_STATUS // +typedef UINTN EFI_SAL_STATUS; + #define EFI_SAL_SUCCESS ((EFI_SAL_STATUS) 0) #define EFI_SAL_MORE_RECORDS ((EFI_SAL_STATUS) 3) #define EFI_SAL_NOT_IMPLEMENTED ((EFI_SAL_STATUS) - 1) -- cgit v1.2.3