Vadim Bendebury | 258ca73 | 2015-05-28 16:35:41 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef __TPM2_COMMANDCODEATTRIBUTES_FP_H |
| 8 | #define __TPM2_COMMANDCODEATTRIBUTES_FP_H |
| 9 | |
Vadim Bendebury | bbd7900 | 2015-05-31 14:44:07 -0700 | [diff] [blame] | 10 | TPMI_YES_NO CommandCapGetCCList( |
| 11 | TPM_CC commandCode, // IN: start command code |
| 12 | UINT32 count, // IN: maximum count for number of entries in |
| 13 | // 'commandList' |
| 14 | TPML_CCA *commandList // OUT: list of TPMA_CC |
| 15 | ); |
Vadim Bendebury | 258ca73 | 2015-05-28 16:35:41 -0700 | [diff] [blame] | 16 | BOOL CommandIsImplemented( |
| 17 | TPM_CC commandCode // IN: command code |
| 18 | ); |
Vadim Bendebury | 6c73a9e | 2015-05-31 16:06:18 -0700 | [diff] [blame] | 19 | BOOL IsReadOperation( |
| 20 | TPM_CC command // IN: Command to check |
| 21 | ); |
| 22 | BOOL IsWriteOperation( |
| 23 | TPM_CC command // IN: Command to check |
| 24 | ); |
Vadim Bendebury | 258ca73 | 2015-05-28 16:35:41 -0700 | [diff] [blame] | 25 | |
| 26 | #endif // __TPM2_COMMANDCODEATTRIBUTES_FP_H |