| 1 |
|
| 2 |
|
| 3 |
#ifndef SECURITY_INTEL_TXT_GETSEC_H_ |
| 4 |
#define SECURITY_INTEL_TXT_GETSEC_H_ |
| 5 |
|
| 6 |
#include <types.h> |
| 7 |
|
| 8 |
void enable_getsec_or_reset(void); |
| 9 |
|
| 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); |
| 16 |
|
| 17 |
bool getsec_capabilities(uint32_t *eax); |
| 18 |
|
| 19 |
void getsec_enteraccs(const uint32_t esi, |
| 20 |
const uint32_t acm_base, |
| 21 |
const uint32_t acm_size); |
| 22 |
|
| 23 |
void getsec_sclean(const uint32_t acm_base, |
| 24 |
const uint32_t acm_size); |
| 25 |
|
| 26 |
#endif |