]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/PeiPalCallLib/PalCallLib.c
moved the PeiPalCallLib from ItaniumFamilyCpuPkg to MdePkg
[mirror_edk2.git] / MdePkg / Library / PeiPalCallLib / PalCallLib.c
CommitLineData
ed8717c5 1/** @file\r
2 PAL Call Services Function.\r
3\r
4 Copyright (c) 2006 - 2007 Intel Corporation. All rights reserved\r
5 This software and associated documentation (if any) is furnished\r
6 under a license and may only be used or copied in accordance\r
7 with the terms of the license. Except as permitted by such\r
8 license, no part of this software or documentation may be\r
9 reproduced, stored in a retrieval system, or transmitted in any\r
10 form or by any means without the express written consent of\r
11 Intel Corporation.\r
12\r
13 Module Name: PalCallLib.c\r
14\r
15**/\r
16\r
17\r
18#include <PiPei.h>\r
19#include <ItaniumFamilyCpuPeim.h>\r
20\r
21#include <Ppi/SecPlatformInformation.h>\r
22\r
23#include <Library/PalCallLib.h>\r
24#include <Library/PeiServicesTablePointerLib.h>\r
25#include <Library/PeiServicesLib.h>\r
26#include <Library/BaseLib.h>\r
27#include <Library/DebugLib.h>\r
28\r
29/**\r
30\r
31 Makes a PAL procedure call.\r
32 This is a wrapper function to make a PAL procedure call. Based on the Index value,\r
33 this API will make static or stacked PAL call. Architected procedures may be designated\r
34 as required or optional. If a PAL procedure is specified as optional, a unique return\r
35 code of 0xFFFFFFFFFFFFFFFF is returned in the Status field of the PAL_CALL_RETURN structure.\r
36 This indicates that the procedure is not present in this PAL implementation. It is the\r
37