coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sgx.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_INTEL_COMMON_BLOCK_SGX_H
4 #define SOC_INTEL_COMMON_BLOCK_SGX_H
5 
6 #include <soc/nvs.h>
7 
8 /*
9  * Check if SGX is supported
10  */
11 int is_sgx_supported(void);
12 
13 /*
14  * Configure core PRMRR.
15  * PRMRR needs to configured first on all cores and then
16  * call sgx_configure() for all cores to init SGX.
17  */
18 void prmrr_core_configure(void);
19 
20 /*
21  * Configure SGX.
22  */
23 void sgx_configure(void *unused);
24 
25 #endif /* SOC_INTEL_COMMON_BLOCK_SGX_H */
void prmrr_core_configure(void)
Definition: sgx.c:25
void sgx_configure(void *unused)
Definition: sgx.c:183
int is_sgx_supported(void)
Definition: sgx.c:15