/**\r
Prototype of SAL procedures.\r
\r
- @param Arg0 Functional identifier.\r
+ @param FunctionId Functional identifier.\r
The upper 32 bits are ignored and only the lower 32 bits\r
are used. The following functional identifiers are defined:\r
0x01XXXXXX - Architected SAL functional group.\r
SAL_RETURN_REGS\r
(EFIAPI *SAL_PROC) (\r
IN UINT64 FunctionId,\r
+ IN UINT64 Arg1,\r
IN UINT64 Arg2,\r
IN UINT64 Arg3,\r
IN UINT64 Arg4,\r
IN UINT64 Arg5,\r
IN UINT64 Arg6,\r
- IN UINT64 Arg7,\r
- IN UINT64 Arg8\r
+ IN UINT64 Arg7\r
);\r
\r
//\r
///\r
/// SAL System Table Definitions\r
///\r
+#pragma pack(1)\r
typedef struct {\r
///\r
/// The ASCII string representation of "SST_" which confirms the presence of the table. \r
#define EFI_SAL_ST_AP_WAKEUP_SIZE 16\r
\r
///\r
-/// Format Entrypoint Descriptor Entry\r
+/// Format of Entrypoint Descriptor Entry\r
///\r
typedef struct {\r
UINT8 Type; ///< Type here should be 0\r
} SAL_ST_ENTRY_POINT_DESCRIPTOR;\r
\r
///\r
-/// Format Platform Features Descriptor Entry\r
+/// Format of Platform Features Descriptor Entry\r
///\r
typedef struct {\r
UINT8 Type; ///< Type here should be 2\r
UINT64 NumberOfProcessors;\r
UINT64 LocalIDRegister;\r
} SAL_COHERENCE_DOMAIN_INFO;\r
-\r
+ \r
///\r
/// Format of Purge Translation Cache Coherence Domain Entry\r
///\r
#define PROC_CR_LID_VALID_BIT_MASK 0x4\r
#define PROC_STATIC_STRUCT_VALID_BIT_MASK 0x8\r
#define CPU_INFO_VALID_BIT_MASK 0x1000000\r
-\r
-#pragma pack(1)\r
-\r
///\r
/// Definition of Processor Machine Check Error Record\r
///\r
PSI_STATIC_STRUCT PsiValidData;\r
} SAL_PROCESSOR_ERROR_RECORD;\r
\r
-#pragma pack()\r
-\r
///\r
/// GUID of Platform Memory Device Error Info\r
///\r
UINT8 SegmentNumber;\r
UINT8 Reserved[5];\r
} PCI_COMP_INFO;\r
-\r
///\r
/// Definition of Platform PCI Component Error Info\r
///\r
#define SEL_EVENT_DATA1_VALID_BIT_MASK 0x80;\r
#define SEL_EVENT_DATA2_VALID_BIT_MASK 0x100;\r
#define SEL_EVENT_DATA3_VALID_BIT_MASK 0x200;\r
-\r
-#pragma pack(1)\r
///\r
/// Definition of Platform SEL Device Error Info Record\r
///\r
UINT8 Data2;\r
UINT8 Data3;\r
} SAL_SEL_DEVICE_ERROR_RECORD;\r
-#pragma pack()\r
\r
///\r
/// GUID of Platform SMBIOS Device Error Info\r
UINT8 *Raw;\r
} SAL_ERROR_RECORDS_POINTERS;\r
\r
+#pragma pack()\r
+\r
#endif\r