MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Fam17Msr.h File Reference

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

Macro Definition Documentation

#define GHCB_HYPERVISOR_FEATURES_REQUEST   128
#define GHCB_HYPERVISOR_FEATURES_RESPONSE   129
#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_SEV_INFO   1
#define GHCB_INFO_SEV_INFO_GET   2
#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST   20
#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE   21
#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_ES_GHCB   0xc0010130

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

#define MSR_SEV_STATUS   0xc0010131

Secure Encrypted Virtualization (SEV) status register