linuxkpi: Add <linux/cc_platform.h>

It defines the `cc_platform_has()` function.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D38596
This commit is contained in:
Jean-Sébastien Pédron 2023-02-14 22:44:21 +01:00
parent e6f7fe74a9
commit 96e16cf368
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -0,0 +1,17 @@
/* Public domain. */
#ifndef _LINUXKPI_LINUX_CC_PLATFORM_H_
#define _LINUXKPI_LINUX_CC_PLATFORM_H_
enum cc_attr {
CC_ATTR_MEM_ENCRYPT,
};
static inline bool
cc_platform_has(enum cc_attr attr __unused)
{
return (false);
}
#endif /* _LINUXKPI_LINUX_CC_PLATFORM_H_ */