OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 * |
| 5 * Functions for updating the TPM state with the status of boot path. |
| 6 */ |
| 7 |
| 8 #ifndef VBOOT_REFERENCE_TPM_BOOTMODE_H_ |
| 9 #define VBOOT_REFERENCE_TPM_BOOTMODE_H_ |
| 10 |
| 11 #include "sysincludes.h" |
| 12 |
| 13 /* Update TPM PCR State with the boot path status. |
| 14 * [developer_mode]: State of the developer switch. |
| 15 * [recovery_mode}: State of the recovery mode. |
| 16 * [fw_keyblock_flags]: Keyblock flags on the to-be-booted |
| 17 * RW firmware keyblock. |
| 18 * |
| 19 * Returns: TPM_SUCCESS if the TPM extend operation succeeds. |
| 20 */ |
| 21 |
| 22 uint32_t SetTPMBootModeState(int developer_mode, int recovery_mode, |
| 23 int fw_keyblock_flags); |
| 24 |
| 25 #endif /* VBOOT_REFERENCE_TPM_BOOTMODE_H_ */ |
OLD | NEW |