TianoCore EDK2 master
Loading...
Searching...
No Matches
SecCcExitVcHandler.c File Reference
#include <Base.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemEncryptSevLib.h>
#include <Library/CcExitLib.h>
#include <Register/Amd/Msr.h>
#include "CcExitVcHandler.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI CcExitHandleVc (IN OUT EFI_EXCEPTION_TYPE *ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 

Detailed Description

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 SecCcExitVcHandler.c.

Function Documentation

◆ CcExitHandleVc()

EFI_STATUS EFIAPI CcExitHandleVc ( 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.

Parameters
[in,out]ExceptionTypePointer to an EFI_EXCEPTION_TYPE to be set as value to use on error.
[in,out]SystemContextPointer to EFI_SYSTEM_CONTEXT
Return values
EFI_SUCCESSException 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 SecCcExitVcHandler.c.