1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef SECURITY_INTEL_TXT_GETSEC_H_
4 #define SECURITY_INTEL_TXT_GETSEC_H_
8 void enable_getsec_or_reset(void);
10 bool getsec_parameter(uint32_t *version_mask
,
11 uint32_t *version_numbers_supported
,
12 uint32_t *max_size_acm_area
,
13 uint32_t *memory_type_mask
,
14 uint32_t *senter_function_disable
,
15 uint32_t *txt_feature_flags
);
17 bool getsec_capabilities(uint32_t *eax
);
19 void getsec_enteraccs(const uint32_t esi
,
20 const uint32_t acm_base
,
21 const uint32_t acm_size
);
23 void getsec_sclean(const uint32_t acm_base
,
24 const uint32_t acm_size
);
26 #endif /* SECURITY_INTEL_TXT_REGISTER_H_ */