]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BasePalLibNull/PalCall.c
3 Template and Sample instance of PalCallLib.
5 Copyright (c) 2006 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include <Library/PalLib.h>
17 #include <Library/DebugLib.h>
20 Makes a PAL procedure call.
22 This is a wrapper function to make a PAL procedure call.
23 This is just a template as simple instance. It does not
24 make real PAL call. It directly reports error if called.
26 @param Index The PAL procedure Index number.
27 @param Arg2 The 2nd parameter for PAL procedure calls.
28 @param Arg3 The 3rd parameter for PAL procedure calls.
29 @param Arg4 The 4th parameter for PAL procedure calls.
31 @return Structure returned from the PAL Call procedure, including the status and return value.
45 Ret
.Status
= (UINT64
) -1;
46 ASSERT (!RETURN_ERROR (RETURN_UNSUPPORTED
));