TianoCore EDK2 master
Loading...
Searching...
No Matches
CcExitLibNull.c
Go to the documentation of this file.
1
10#include <Base.h>
11#include <Uefi.h>
12#include <Library/CcExitLib.h>
13
36UINT64
37EFIAPI
39 IN OUT GHCB *Ghcb,
40 IN UINT64 ExitCode,
41 IN UINT64 ExitInfo1,
42 IN UINT64 ExitInfo2
43 )
44{
46
47 Event.Uint64 = 0;
48 Event.Elements.Vector = GP_EXCEPTION;
49 Event.Elements.Type = GHCB_EVENT_INJECTION_TYPE_EXCEPTION;
50 Event.Elements.Valid = 1;
51
52 return Event.Uint64;
53}
54
66VOID
67EFIAPI
69 IN OUT GHCB *Ghcb,
70 IN OUT BOOLEAN *InterruptState
71 )
72{
73}
74
86VOID
87EFIAPI
89 IN OUT GHCB *Ghcb,
90 IN BOOLEAN InterruptState
91 )
92{
93}
94
105VOID
106EFIAPI
108 IN OUT GHCB *Ghcb,
109 IN GHCB_REGISTER Offset
110 )
111{
112}
113
127BOOLEAN
128EFIAPI
130 IN GHCB *Ghcb,
131 IN GHCB_REGISTER Offset
132 )
133{
134 return FALSE;
135}
136
157EFIAPI
159 IN OUT EFI_EXCEPTION_TYPE *ExceptionType,
160 IN OUT EFI_SYSTEM_CONTEXT SystemContext
161 )
162{
163 *ExceptionType = VC_EXCEPTION;
164
165 return EFI_UNSUPPORTED;
166}
167
185EFIAPI
187 IN OUT EFI_EXCEPTION_TYPE *ExceptionType,
188 IN OUT EFI_SYSTEM_CONTEXT SystemContext
189 )
190{
191 *ExceptionType = VE_EXCEPTION;
192
193 return EFI_UNSUPPORTED;
194}
UINT64 EFIAPI CcExitVmgExit(IN OUT GHCB *Ghcb, IN UINT64 ExitCode, IN UINT64 ExitInfo1, IN UINT64 ExitInfo2)
Definition: CcExitLibNull.c:38
EFI_STATUS EFIAPI CcExitHandleVe(IN OUT EFI_EXCEPTION_TYPE *ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
BOOLEAN EFIAPI CcExitVmgIsOffsetValid(IN GHCB *Ghcb, IN GHCB_REGISTER Offset)
VOID EFIAPI CcExitVmgSetOffsetValid(IN OUT GHCB *Ghcb, IN GHCB_REGISTER Offset)
EFI_STATUS EFIAPI CcExitHandleVc(IN OUT EFI_EXCEPTION_TYPE *ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
VOID EFIAPI CcExitVmgInit(IN OUT GHCB *Ghcb, IN OUT BOOLEAN *InterruptState)
Definition: CcExitLibNull.c:68
VOID EFIAPI CcExitVmgDone(IN OUT GHCB *Ghcb, IN BOOLEAN InterruptState)
Definition: CcExitLibNull.c:88
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
INTN EFI_EXCEPTION_TYPE
Definition: DebugSupport.h:35
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29