Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/x86/include/asm/amd/hsmp.h
26495 views
1
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2
#ifndef _ASM_X86_AMD_HSMP_H_
3
#define _ASM_X86_AMD_HSMP_H_
4
5
#include <uapi/asm/amd_hsmp.h>
6
7
#if IS_ENABLED(CONFIG_AMD_HSMP)
8
int hsmp_send_message(struct hsmp_message *msg);
9
#else
10
static inline int hsmp_send_message(struct hsmp_message *msg)
11
{
12
return -ENODEV;
13
}
14
#endif
15
16
#endif /*_ASM_X86_AMD_HSMP_H_*/
17
18