Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 
0003 #ifndef _ASM_X86_AMD_HSMP_H_
0004 #define _ASM_X86_AMD_HSMP_H_
0005 
0006 #include <uapi/asm/amd_hsmp.h>
0007 
0008 #if IS_ENABLED(CONFIG_AMD_HSMP)
0009 int hsmp_send_message(struct hsmp_message *msg);
0010 #else
0011 static inline int hsmp_send_message(struct hsmp_message *msg)
0012 {
0013     return -ENODEV;
0014 }
0015 #endif
0016 #endif /*_ASM_X86_AMD_HSMP_H_*/