summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Register/Amd/SvsmMsr.h
blob: 9e7fca880ba5379186535b953e18519bef26fe2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/** @file
  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) 2024, Advanced Micro Devices. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#ifndef SVSM_MSR_H_
#define SVSM_MSR_H_

/**
  Secure VM Service Module CAA register

**/
#define MSR_SVSM_CAA  0xc001f000

/**
  MSR information returned for #MSR_SVSM_CAA
**/
typedef union {
  struct {
    UINT32    Lower32Bits;
    UINT32    Upper32Bits;
  } Bits;

  UINT64    Uint64;
} MSR_SVSM_CAA_REGISTER;

#endif