TianoCore EDK2 master
AmdSev.c
Go to the documentation of this file.
1
11#include "MpLib.h"
12
20VOID
22 IN CPU_MP_DATA *CpuMpData,
23 IN CPU_AP_DATA *CpuData,
24 UINT32 ApicId
25 )
26{
27 //
28 // SEV-SNP is not support on 32-bit build.
29 //
30 ASSERT (FALSE);
31}
32
40VOID
42 IN CPU_MP_DATA *CpuMpData,
43 IN INTN ProcessorNumber
44 )
45{
46 //
47 // SEV-SNP is not support on 32-bit build.
48 //
49 ASSERT (FALSE);
50}
51
60UINT32
62 IN EFI_PHYSICAL_ADDRESS PageAddress,
63 IN BOOLEAN VmsaPage
64 )
65{
66 //
67 // RMPADJUST is not supported in 32-bit mode
68 //
69 return RETURN_UNSUPPORTED;
70}
INT64 INTN
#define RETURN_UNSUPPORTED
Definition: Base.h:977
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define ASSERT(Expression)
Definition: DebugLib.h:391
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:49
UINT32 SevSnpRmpAdjust(IN EFI_PHYSICAL_ADDRESS PageAddress, IN BOOLEAN VmsaPage)
Definition: AmdSev.c:61
VOID SevSnpCreateAP(IN CPU_MP_DATA *CpuMpData, IN INTN ProcessorNumber)
Definition: AmdSev.c:41
VOID SevSnpCreateSaveArea(IN CPU_MP_DATA *CpuMpData, IN CPU_AP_DATA *CpuData, UINT32 ApicId)
Definition: AmdSev.c:21