mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 00:02:14 -04:00
Add this attribute which is a no-op for us but in linux represent that the guest memory encryption is active. drm ttm started to check this flag in > 6.1.92 Sponsored by: Beckhoff Automation GmbH & Co. KG
21 lines
352 B
C
21 lines
352 B
C
/* Public domain. */
|
|
|
|
#ifndef _LINUXKPI_LINUX_CC_PLATFORM_H_
|
|
#define _LINUXKPI_LINUX_CC_PLATFORM_H_
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/stddef.h>
|
|
|
|
enum cc_attr {
|
|
CC_ATTR_MEM_ENCRYPT,
|
|
CC_ATTR_GUEST_MEM_ENCRYPT,
|
|
};
|
|
|
|
static inline bool
|
|
cc_platform_has(enum cc_attr attr __unused)
|
|
{
|
|
|
|
return (false);
|
|
}
|
|
|
|
#endif /* _LINUXKPI_LINUX_CC_PLATFORM_H_ */
|