TianoCore EDK2
master
Loading...
Searching...
No Matches
SecPeiCcProbeLib.c
Go to the documentation of this file.
1
10
#include <
Library/CcProbeLib.h
>
11
#include <
WorkArea.h
>
12
20
UINT8
21
EFIAPI
22
CcProbe
(
23
VOID
24
)
25
{
26
OVMF_WORK_AREA
*WorkArea;
27
28
WorkArea = (
OVMF_WORK_AREA
*)
FixedPcdGet32
(PcdOvmfWorkAreaBase);
29
30
return
WorkArea !=
NULL
? WorkArea->Header.GuestType : CcGuestTypeNonEncrypted;
31
}
CcProbeLib.h
NULL
#define NULL
Definition:
Base.h:319
FixedPcdGet32
#define FixedPcdGet32(TokenName)
Definition:
PcdLib.h:92
CcProbe
UINT8 EFIAPI CcProbe(VOID)
Definition:
SecPeiCcProbeLib.c:22
WorkArea.h
OVMF_WORK_AREA
Definition:
WorkArea.h:107
OvmfPkg
Library
CcProbeLib
SecPeiCcProbeLib.c
Generated on Fri Nov 15 2024 18:01:21 for TianoCore EDK2 by
1.9.6