3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 IPF specific Runtime Lib code. IPF has a SAL API that does not
26 #include EFI_PROTOCOL_DEFINITION (ExtendedSalGuid)
27 #include EFI_PROTOCOL_DEFINITION (ExtendedSalBootService)
31 RegisterEsalFunction (
33 IN EFI_GUID
*ClassGuid
,
34 IN SAL_INTERNAL_EXTENDED_SAL_PROC Function
,
41 Register ESAL Class Function and it's asociated global.
42 This function is boot service only!
45 FunctionId - ID of function to register
46 ClassGuid - GUID of function class
47 Function - Function to register under ClassGuid/FunctionId pair
48 ModuleGlobal - Module global for Function.
51 EFI_SUCCESS - If ClassGuid/FunctionId Function was registered.
58 IN EFI_GUID
*ClassGuid
,
59 IN VOID
*ModuleGlobal
,
66 Register ESAL Class and it's asociated global.
67 This function is boot service only!
70 ClassGuid - GUID of function class
71 ModuleGlobal - Module global for Function.
72 .. - SAL_INTERNAL_EXTENDED_SAL_PROC and FunctionId pairs. NULL
73 indicates the end of the list.
76 EFI_SUCCESS - All members of ClassGuid registered
83 IN EFI_GUID
*ClassGuid
,
97 Call module that is not linked direclty to this module. This code is IP
98 relative and hides the binding issues of virtual or physical calling. The
99 function that gets dispatched has extra arguments that include the registered
100 module global and a boolean flag to indicate if the system is in virutal mode.
103 ClassGuid - GUID of function
104 FunctionId - Function in ClassGuid to call
105 Arg2 - Argument 2 ClassGuid/FunctionId defined
106 Arg3 - Argument 3 ClassGuid/FunctionId defined
107 Arg4 - Argument 4 ClassGuid/FunctionId defined
108 Arg5 - Argument 5 ClassGuid/FunctionId defined
109 Arg6 - Argument 6 ClassGuid/FunctionId defined
110 Arg7 - Argument 7 ClassGuid/FunctionId defined
111 Arg8 - Argument 8 ClassGuid/FunctionId defined
114 Status of ClassGuid/FuncitonId