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
20UINT8
21EFIAPI
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}
#define NULL
Definition: Base.h:319
#define FixedPcdGet32(TokenName)
Definition: PcdLib.h:92
UINT8 EFIAPI CcProbe(VOID)