Vadim Bendebury | 5679752 | 2015-05-20 10:32:25 -0700 | [diff] [blame] | 1 | // This file was extracted from the TCG Published |
| 2 | // Trusted Platform Module Library |
| 3 | // Part 4: Supporting Routines |
| 4 | // Family "2.0" |
| 5 | // Level 00 Revision 01.16 |
| 6 | // October 30, 2014 |
| 7 | |
Vadim Bendebury | f5cc58b | 2015-05-31 14:09:19 -0700 | [diff] [blame] | 8 | #ifndef _VENDOR_STRING_H |
| 9 | #define _VENDOR_STRING_H |
| 10 | // |
| 11 | // Define up to 4-byte values for MANUFACTURER. This value defines the response for |
| 12 | // TPM_PT_MANUFACTURER in TPM2_GetCapability(). The following line should be un-commented and a |
| 13 | // vendor specific string should be provided here. |
| 14 | // |
| 15 | #define MANUFACTURER "MSFT" |
| 16 | // |
| 17 | // The following #if macro may be deleted after a proper MANUFACTURER is provided. |
| 18 | // |
| 19 | #ifndef MANUFACTURER |
| 20 | #error MANUFACTURER is not provided. \ |
| 21 | Please modify include\VendorString.h to provide a specific \ |
| 22 | manufacturer name. |
| 23 | #endif |
| 24 | // |
| 25 | // Define up to 4, 4-byte values. The values must each be 4 bytes long and the last value used may contain |
| 26 | // trailing zeros. These values define the response for TPM_PT_VENDOR_STRING_(1-4) in |
| 27 | // TPM2_GetCapability(). The following line should be un-commented and a vendor specific string should |
| 28 | // be provided here. The vendor strings 2-4 may also be defined as appropriately. |
| 29 | // |
| 30 | #define VENDOR_STRING_1 "xCG " |
| 31 | #define VENDOR_STRING_2 "fTPM" |
| 32 | // #define VENDOR_STRING_3 |
| 33 | // #define VENDOR_STRING_4 |
| 34 | // |
| 35 | // The following #if macro may be deleted after a proper VENDOR_STRING_1 is provided. |
| 36 | // |
| 37 | #ifndef VENDOR_STRING_1 |
| 38 | #error VENDOR_STRING_1 is not provided. \ |
| 39 | Please modify include\VendorString.h to provide a vednor specific \ |
| 40 | string. |
| 41 | // |
| 42 | #endif |
| 43 | // |
| 44 | // the more significant 32-bits of a vendor-specific value indicating the version of the firmware The following |
| 45 | // line should be un-commented and a vendor specific firmware V1 should be provided here. The |
| 46 | // FIRMWARE_V2 may also be defined as appropriate. |
| 47 | // |
| 48 | #define FIRMWARE_V1 (0x20140504) |
| 49 | // |
| 50 | // the less significant 32-bits of a vendor-specific value indicating the version of the firmware |
| 51 | // |
| 52 | #define FIRMWARE_V2 (0x00200136) |
| 53 | // |
| 54 | // The following #if macro may be deleted after a proper FIRMWARE_V1 is provided. |
| 55 | // |
| 56 | #ifndef FIRMWARE_V1 |
| 57 | #error FIRMWARE_V1 is not provided. \ |
| 58 | Please modify include\VendorString.h to provide a vendor specific firmware \ |
| 59 | version |
| 60 | #endif |
| 61 | #endif |