TianoCore EDK2 master
Loading...
Searching...
No Matches
SevSnpMsr.h File Reference

Go to the source code of this file.

Data Structures

union  MSR_SEV_ES_GHCB_REGISTER
 
union  MSR_SEV_STATUS_REGISTER
 

Macros

#define MSR_SEV_ES_GHCB   0xc0010130
 
#define GHCB_INFO_SEV_INFO   1
 
#define GHCB_INFO_SEV_INFO_GET   2
 
#define GHCB_INFO_CPUID_REQUEST   4
 
#define GHCB_INFO_CPUID_RESPONSE   5
 
#define GHCB_INFO_GHCB_GPA_REGISTER_REQUEST   18
 
#define GHCB_INFO_GHCB_GPA_REGISTER_RESPONSE   19
 
#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST   20
 
#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE   21
 
#define GHCB_INFO_SNP_VMPL_REQUEST   22
 
#define GHCB_INFO_SNP_VMPL_RESPONSE   23
 
#define GHCB_HYPERVISOR_FEATURES_REQUEST   128
 
#define GHCB_HYPERVISOR_FEATURES_RESPONSE   129
 
#define GHCB_INFO_TERMINATE_REQUEST   256
 
#define GHCB_TERMINATE_GHCB   0
 
#define GHCB_TERMINATE_GHCB_GENERAL   0
 
#define GHCB_TERMINATE_GHCB_PROTOCOL   1
 
#define MSR_SEV_STATUS   0xc0010131
 

Detailed Description

MSR Definitions.

Provides defines for Machine Specific Registers(MSR) indexes. Data structures are provided for MSRs that contain one or more bit fields. If the MSR value returned is a single 32-bit or 64-bit value, then a data structure is not provided for that MSR.

Copyright (c) 2017 - 2024, Advanced Micro Devices. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Specification Reference:
AMD64 Architecture Programming Manual volume 2, March 2024

Definition in file SevSnpMsr.h.

Macro Definition Documentation

◆ GHCB_HYPERVISOR_FEATURES_REQUEST

#define GHCB_HYPERVISOR_FEATURES_REQUEST   128

Definition at line 104 of file SevSnpMsr.h.

◆ GHCB_HYPERVISOR_FEATURES_RESPONSE

#define GHCB_HYPERVISOR_FEATURES_RESPONSE   129

Definition at line 105 of file SevSnpMsr.h.

◆ GHCB_INFO_CPUID_REQUEST

#define GHCB_INFO_CPUID_REQUEST   4

Definition at line 96 of file SevSnpMsr.h.

◆ GHCB_INFO_CPUID_RESPONSE

#define GHCB_INFO_CPUID_RESPONSE   5

Definition at line 97 of file SevSnpMsr.h.

◆ GHCB_INFO_GHCB_GPA_REGISTER_REQUEST

#define GHCB_INFO_GHCB_GPA_REGISTER_REQUEST   18

Definition at line 98 of file SevSnpMsr.h.

◆ GHCB_INFO_GHCB_GPA_REGISTER_RESPONSE

#define GHCB_INFO_GHCB_GPA_REGISTER_RESPONSE   19

Definition at line 99 of file SevSnpMsr.h.

◆ GHCB_INFO_SEV_INFO

#define GHCB_INFO_SEV_INFO   1

Definition at line 94 of file SevSnpMsr.h.

◆ GHCB_INFO_SEV_INFO_GET

#define GHCB_INFO_SEV_INFO_GET   2

Definition at line 95 of file SevSnpMsr.h.

◆ GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST

#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST   20

Definition at line 100 of file SevSnpMsr.h.

◆ GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE

#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE   21

Definition at line 101 of file SevSnpMsr.h.

◆ GHCB_INFO_SNP_VMPL_REQUEST

#define GHCB_INFO_SNP_VMPL_REQUEST   22

Definition at line 102 of file SevSnpMsr.h.

◆ GHCB_INFO_SNP_VMPL_RESPONSE

#define GHCB_INFO_SNP_VMPL_RESPONSE   23

Definition at line 103 of file SevSnpMsr.h.

◆ GHCB_INFO_TERMINATE_REQUEST

#define GHCB_INFO_TERMINATE_REQUEST   256

Definition at line 106 of file SevSnpMsr.h.

◆ GHCB_TERMINATE_GHCB

#define GHCB_TERMINATE_GHCB   0

Definition at line 108 of file SevSnpMsr.h.

◆ GHCB_TERMINATE_GHCB_GENERAL

#define GHCB_TERMINATE_GHCB_GENERAL   0

Definition at line 109 of file SevSnpMsr.h.

◆ GHCB_TERMINATE_GHCB_PROTOCOL

#define GHCB_TERMINATE_GHCB_PROTOCOL   1

Definition at line 110 of file SevSnpMsr.h.

◆ MSR_SEV_ES_GHCB

#define MSR_SEV_ES_GHCB   0xc0010130

Secure Encrypted Virtualization - Encrypted State (SEV-ES) GHCB register

Definition at line 24 of file SevSnpMsr.h.

◆ MSR_SEV_STATUS

#define MSR_SEV_STATUS   0xc0010131

Secure Encrypted Virtualization (SEV) status register

Definition at line 116 of file SevSnpMsr.h.