linux/arch/x86/include/uapi/asm/amd_hsmp.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */

#ifndef _UAPI_ASM_X86_AMD_HSMP_H_
#define _UAPI_ASM_X86_AMD_HSMP_H_

#include <linux/types.h>

#pragma pack(4)

#define HSMP_MAX_MSG_LEN

/*
 * HSMP Messages supported
 */
enum hsmp_message_ids {};

struct hsmp_message {};

enum hsmp_msg_type {};

enum hsmp_proto_versions {};

struct hsmp_msg_desc {};

/*
 * User may use these comments as reference, please find the
 * supported list of messages and message definition in the
 * HSMP chapter of respective family/model PPR.
 *
 * Not supported messages would return -ENOMSG.
 */
static const struct hsmp_msg_desc hsmp_msg_desc_table[] =;

/* Metrics table (supported only with proto version 6) */
struct hsmp_metric_table {};

/* Reset to default packing */
#pragma pack()

/* Define unique ioctl command for hsmp msgs using generic _IOWR */
#define HSMP_BASE_IOCTL_NR
#define HSMP_IOCTL_CMD

#endif /*_ASM_X86_AMD_HSMP_H_*/