+++ /dev/null
-/** @file\r
- Provides library services to make SAL Calls.\r
-\r
-Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#ifndef __SAL_LIB__\r
-#define __SAL_LIB__\r
-\r
-#include <IndustryStandard/Sal.h>\r
-\r
-/**\r
- Makes a SAL procedure call.\r
-\r
- This is a wrapper function to make a SAL procedure call.\r
- No parameter checking is performed on the 8 input parameters,\r
- but there are some common rules that the caller should follow\r
- when making a SAL call. Any address passed to SAL as buffers\r
- for return parameters must be 8-byte aligned. Unaligned\r
- addresses may cause undefined results. For those parameters\r
- defined as reserved or some fields defined as reserved must be\r
- zero filled or the invalid argument return value may be returned\r
- or undefined result may occur during the execution of the procedure.\r
- This function is only available on Intel Itanium-based platforms.\r
-\r
- @param Index The SAL procedure Index number\r
- @param Arg2 The 2nd parameter for SAL procedure calls\r
- @param Arg3 The 3rd parameter for SAL procedure calls\r
- @param Arg4 The 4th parameter for SAL procedure calls\r
- @param Arg5 The 5th parameter for SAL procedure calls\r
- @param Arg6 The 6th parameter for SAL procedure calls\r
- @param Arg7 The 7th parameter for SAL procedure calls\r
- @param Arg8 The 8th parameter for SAL procedure calls\r
-\r
- @return SAL returned registers.\r
-\r
-**/\r
-SAL_RETURN_REGS\r
-EFIAPI\r
-SalCall (\r
- IN UINT64 Index,\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
- );\r
-\r
-#endif\r