summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-19 00:22:38 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-19 00:22:38 +0000
commit4e3f18617e859e370eb6c457061a4e33be77bb31 (patch)
tree2cf2bc960fdc22468869911a2f661940b8080903
parente641608bcc494823114a67f7aec649c2d7ca9db4 (diff)
downloadedk2-platforms-4e3f18617e859e370eb6c457061a4e33be77bb31.tar.xz
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
-rw-r--r--MdePkg/Include/Ipf/SalApi.h20
1 files 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)