blob: 0f46df4f739ae4c1c8bb9f27bbf6369bd46f5916 [file] [log] [blame]
Vadim Bendebury56797522015-05-20 10:32:25 -07001// 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
8#ifndef _BASETYPES_H
9#define _BASETYPES_H
10#include "stdint.h"
11//
12// NULL definition
13//
14#ifndef NULL
15#define NULL (0)
16#endif
17typedef uint8_t UINT8;
18typedef uint8_t BYTE;
19typedef int8_t INT8;
20typedef int BOOL;
21typedef uint16_t UINT16;
22typedef int16_t INT16;
23typedef uint32_t UINT32;
24typedef int32_t INT32;
25typedef uint64_t UINT64;
26typedef int64_t INT64;
27typedef struct {
28 UINT16 size;
29 BYTE buffer[1];
30} TPM2B;
31#endif