TianoCore EDK2 master
|
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/VmgExitLib.h>
#include <Register/Amd/Msr.h>
#include "VmgExitVcHandler.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | VmgExitHandleVc (IN OUT EFI_EXCEPTION_TYPE *ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext) |
X64 #VC Exception Handler functon.
Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SecVmgExitVcHandler.c.
EFI_STATUS EFIAPI VmgExitHandleVc | ( | IN OUT EFI_EXCEPTION_TYPE * | ExceptionType, |
IN OUT EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
Handle a #VC exception.
Performs the necessary processing to handle a #VC exception.
[in,out] | ExceptionType | Pointer to an EFI_EXCEPTION_TYPE to be set as value to use on error. |
[in,out] | SystemContext | Pointer to EFI_SYSTEM_CONTEXT |
EFI_SUCCESS | Exception handled |
EFI_UNSUPPORTED | #VC not supported, (new) exception value to propagate provided |
EFI_PROTOCOL_ERROR | #VC handling failed, (new) exception value to propagate provided |
Definition at line 36 of file SecVmgExitVcHandler.c.