coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ptt.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /*
4  * This driver checks if the PTT Bit is set correctly within the FWSTS4
5  * register. This is needed in order to use the iTPM, because we have to
6  * check prior using the interface that this bit is set correctly - otherwise
7  * it could work unpredictable. The bit should already be set if the Intel ME
8  * is still in the preboot phase.
9  *
10  */
11 /*
12  * ptt_active
13  *
14  * Checks if the Intel PTT is active. If PTT is active, returns true,
15  * false otherwise.
16  */
17 bool ptt_active(void);
bool ptt_active(void)
Definition: ptt.c:28