blob: 65a5db233f3171cf92beba9ac25d33a175b77a32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/** @file
Provide FSP wrapper MultiPhase handling functions.
Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __FSP_WRAPPER_MULTI_PHASE_PROCESS_LIB_H__
#define __FSP_WRAPPER_MULTI_PHASE_PROCESS_LIB_H__
/**
FSP Wrapper Platform MultiPhase Handler
@param[in] FspHobListPtr - Pointer to FSP HobList (valid after FSP-M completed)
@param[in] ComponentIndex - FSP Component which executing MultiPhase initialization.
@param[in] PhaseIndex - Indicates current execution phase of FSP MultiPhase initialization.
@retval EFI_STATUS Always return EFI_SUCCESS
**/
VOID
EFIAPI
FspWrapperPlatformMultiPhaseHandler (
IN OUT VOID **FspHobListPtr,
IN UINT8 ComponentIndex,
IN UINT32 PhaseIndex
);
/**
FSP Wrapper Variable Request Handler
@param[in] FspHobListPtr - Pointer to FSP HobList (valid after FSP-M completed)
@param[in] ComponentIndex - FSP Component which executing MultiPhase initialization.
@retval EFI_UNSUPPORTED FSP Wrapper cannot support the specific variable request
@retval EFI_STATUS Return FSP returned status
**/EFI_STATUS
EFIAPI
FspWrapperVariableRequestHandler (
IN OUT VOID **FspHobListPtr,
IN UINT8 ComponentIndex
);
/**
FSP Wrapper MultiPhase Handler
@param[in] FspHobListPtr - Pointer to FSP HobList (valid after FSP-M completed)
@param[in] ComponentIndex - FSP Component which executing MultiPhase initialization.
@retval EFI_STATUS Always return EFI_SUCCESS
**/
EFI_STATUS
EFIAPI
FspWrapperMultiPhaseHandler (
IN OUT VOID **FspHobListPtr,
IN UINT8 ComponentIndex
);
#endif
|