TianoCore EDK2 master
Loading...
Searching...
No Matches
CcExitLib.h
Go to the documentation of this file.
1
15#ifndef CC_EXIT_LIB_H_
16#define CC_EXIT_LIB_H_
17
19#include <Register/Amd/Ghcb.h>
20
21#define VE_EXCEPTION 20
22
42UINT64
43EFIAPI
45 IN OUT GHCB *Ghcb,
46 IN UINT64 ExitCode,
47 IN UINT64 ExitInfo1,
48 IN UINT64 ExitInfo2
49 );
50
62VOID
63EFIAPI
65 IN OUT GHCB *Ghcb,
66 IN OUT BOOLEAN *InterruptState
67 );
68
80VOID
81EFIAPI
83 IN OUT GHCB *Ghcb,
84 IN BOOLEAN InterruptState
85 );
86
97VOID
98EFIAPI
100 IN OUT GHCB *Ghcb,
101 IN GHCB_REGISTER Offset
102 );
103
117BOOLEAN
118EFIAPI
120 IN GHCB *Ghcb,
121 IN GHCB_REGISTER Offset
122 );
123
144EFIAPI
146 IN OUT EFI_EXCEPTION_TYPE *ExceptionType,
147 IN OUT EFI_SYSTEM_CONTEXT SystemContext
148 );
149
170EFIAPI
172 IN OUT EFI_EXCEPTION_TYPE *ExceptionType,
173 IN OUT EFI_SYSTEM_CONTEXT SystemContext
174 );
175
176#endif
UINT64 EFIAPI CcExitVmgExit(IN OUT GHCB *Ghcb, IN UINT64 ExitCode, IN UINT64 ExitInfo1, IN UINT64 ExitInfo2)
Definition: CcExitLib.c:106
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)
Definition: CcExitLib.c:227
VOID EFIAPI CcExitVmgSetOffsetValid(IN OUT GHCB *Ghcb, IN GHCB_REGISTER Offset)
Definition: CcExitLib.c:198
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: CcExitLib.c:146
VOID EFIAPI CcExitVmgDone(IN OUT GHCB *Ghcb, IN BOOLEAN InterruptState)
Definition: CcExitLib.c:176
#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