tddlapi_error.h

来自「可信计算 TPM 很重要的应用底层接口封装中间层 IBM资深人员开发」· C头文件 代码 · 共 55 行

H
55
字号
/*++  TDDL error return codes for the TPM Device Driver Library Interface (TDDLI)  --*/#ifndef __TDDLAPI_ERROR_H__#define __TDDLAPI_ERROR_H__//// error coding scheme for a Microsoft Windows platform -// refer to the TSS Specification Parts////  Values are 32 bit values layed out as follows:////   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0//  +---+-+-+-----------------------+-------+-----------------------+//  |Lev|C|R|     Facility          | Layer |         Code          |//  +---+-+-+-----------------------+-------+-----------------------+//  | Platform specific coding      | TSS error coding system       |//  +---+-+-+-----------------------+-------+-----------------------+////      Lev - is the Level code////          00 - Success//          01 - Informational//          10 - Warning//          11 - Error////      C - is the Customer code flag  (must actually be set)////      R - is a reserved bit    (unused)////      Facility - is the facility code: TCPA: proposal 0x028////      Code - is the facility's status code//// no macros are used below intentionally// for a better error code recognition by the reader// note that the values of TPM_E_BASE and TSS_E_BASE, TSS_W_BASE and TSS_I_BASE// have to be adjusted for a platform other than Windows//// TPM specific error codes (layer nibble set to TPM layer TSS_LAYER_TPM)//#endif // __TDDLAPI_ERROR_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?