TianoCore EDK2 master
Fam17Msr.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_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, Advanced Micro Devices. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Specification Reference:
AMD64 Architecture Programming Manual volume 2, March 2017, Sections 15.34

Definition in file Fam17Msr.h.

Macro Definition Documentation

◆ GHCB_HYPERVISOR_FEATURES_REQUEST

#define GHCB_HYPERVISOR_FEATURES_REQUEST   128

Definition at line 87 of file Fam17Msr.h.

◆ GHCB_HYPERVISOR_FEATURES_RESPONSE

#define GHCB_HYPERVISOR_FEATURES_RESPONSE   129

Definition at line 88 of file Fam17Msr.h.

◆ GHCB_INFO_CPUID_REQUEST

#define GHCB_INFO_CPUID_REQUEST   4

Definition at line 81 of file Fam17Msr.h.

◆ GHCB_INFO_CPUID_RESPONSE

#define GHCB_INFO_CPUID_RESPONSE   5

Definition at line 82 of file Fam17Msr.h.

◆ GHCB_INFO_GHCB_GPA_REGISTER_REQUEST

#define GHCB_INFO_GHCB_GPA_REGISTER_REQUEST   18

Definition at line 83 of file Fam17Msr.h.

◆ GHCB_INFO_GHCB_GPA_REGISTER_RESPONSE

#define GHCB_INFO_GHCB_GPA_REGISTER_RESPONSE   19

Definition at line 84 of file Fam17Msr.h.

◆ GHCB_INFO_SEV_INFO

#define GHCB_INFO_SEV_INFO   1

Definition at line 79 of file Fam17Msr.h.

◆ GHCB_INFO_SEV_INFO_GET

#define GHCB_INFO_SEV_INFO_GET   2

Definition at line 80 of file Fam17Msr.h.

◆ GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST

#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST   20

Definition at line 85 of file Fam17Msr.h.

◆ GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE

#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE   21

Definition at line 86 of file Fam17Msr.h.

◆ GHCB_INFO_TERMINATE_REQUEST

#define GHCB_INFO_TERMINATE_REQUEST   256

Definition at line 89 of file Fam17Msr.h.

◆ GHCB_TERMINATE_GHCB

#define GHCB_TERMINATE_GHCB   0

Definition at line 91 of file Fam17Msr.h.

◆ GHCB_TERMINATE_GHCB_GENERAL

#define GHCB_TERMINATE_GHCB_GENERAL   0

Definition at line 92 of file Fam17Msr.h.

◆ GHCB_TERMINATE_GHCB_PROTOCOL

#define GHCB_TERMINATE_GHCB_PROTOCOL   1

Definition at line 93 of file Fam17Msr.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 Fam17Msr.h.

◆ MSR_SEV_STATUS

#define MSR_SEV_STATUS   0xc0010131

Secure Encrypted Virtualization (SEV) status register

Definition at line 99 of file Fam17Msr.h.