mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
This test sets the TPM to a each of a large amount of "interesting" initial states, and runs the firmware code at user level.
This code compiles and installs using a modified ebuild (which needs to be committed after this change). Review URL: http://codereview.chromium.org/2857030
This commit is contained in:
@@ -95,4 +95,13 @@ uint32_t RollbackKernelWrite(uint16_t key_version, uint16_t version);
|
||||
/* Lock must be called. Internally, it's ignored in recovery mode. */
|
||||
uint32_t RollbackKernelLock(void);
|
||||
|
||||
/* The following functions are here for testing only. */
|
||||
|
||||
/* Store 1 in *|initialized| if the TPM NVRAM spaces have been initialized, 0
|
||||
* otherwise. Return TPM errors. */
|
||||
uint32_t GetSpacesInitialized(int* initialized);
|
||||
|
||||
/* Issue a TPM_Clear and reenable/reactivate the TPM. */
|
||||
uint32_t TPMClearAndReenable(void);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */
|
||||
|
||||
Reference in New Issue
Block a user