CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
sev_snp_cpuid.h File Reference
#include "ccf/ds/hex.h"
#include "ccf/ds/json.h"
#include <cstdint>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Classes

struct  ccf::pal::snp::CPUID
 

Namespaces

namespace  ccf
 
namespace  ccf::pal
 
namespace  ccf::pal::snp
 

Typedefs

using ccf::pal::snp::AMDFamily = uint8_t
 
using ccf::pal::snp::AMDModel = uint8_t
 

Enumerations

enum class  ccf::pal::snp::ProductName { ccf::pal::snp::Milan , ccf::pal::snp::Genoa , ccf::pal::snp::Turin }
 

Functions

 ccf::pal::snp::DECLARE_JSON_TYPE (CPUID)
 
 ccf::pal::snp::DECLARE_JSON_REQUIRED_FIELDS (CPUID, stepping, base_model, base_family, extended_model, extended_family)
 
std::string ccf::pal::snp::to_string (ProductName product)
 
 ccf::pal::snp::DECLARE_JSON_ENUM (ProductName, { {ProductName::Milan, "Milan"}, {ProductName::Genoa, "Genoa"}, {ProductName::Turin, "Turin"}, })
 
ProductName ccf::pal::snp::get_sev_snp_product (AMDFamily family, AMDModel model)
 
ProductName ccf::pal::snp::get_sev_snp_product (const CPUID &cpuid)
 
std::string ccf::pal::snp::get_cpuid_of_snp_sev_product (ProductName product)