hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
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
/** @file
 
  @copyright
  Copyright 2013 - 2021 Intel Corporation. <BR>
 
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
 
#include <Base.h>
#include <Uefi.h>
#include <Library/IoLib.h>
 
 
 
 
/*++
Description:
 
  This function is a hook for PlatformVariableInitPeiEntry
 
--*/
VOID PlatformVariableHookForEntry(
   VOID
){
 
 
}
 
 
/*++
Description:
 
  This function allow platform to generate variable hob base on different event.
 
Arguments:
  IN VOID  *Interface                  -point to EFI_PEI_READ_ONLY_VARIABLE2_PPI
   IN OUT   UINT8 *phobdata,        -pont to hob data
   IN OUT   UINT16 *pDefaultId      -pointer to defautlID
 
Returns:
  TRUE:platform have its own variable hob that need be createn
  FALSE:platform don;t need to create variable hob in this case
 
 
--*/
BOOLEAN PlatformVariableHookForHobGeneration(
   IN VOID  *Interface,
   IN OUT   UINT8 *phobdata,
   IN OUT   UINT16 *pDefaultId
){
 
 
 
  return FALSE;
}