Stefan Reinauer | 0508273 | 2015-10-21 13:00:41 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2016 Google Inc |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
Stefan Reinauer | d6fac38 | 2015-05-05 13:35:18 -0700 | [diff] [blame] | 16 | #ifndef _STDTYPES_H |
| 17 | #define _STDTYPES_H |
| 18 | |
| 19 | #include <stdint.h> |
| 20 | |
| 21 | typedef uint8_t u8; |
| 22 | typedef uint16_t u16; |
| 23 | typedef uint32_t u32; |
| 24 | typedef uint64_t u64; |
| 25 | typedef int8_t s8; |
| 26 | typedef int16_t s16; |
| 27 | typedef int32_t s32; |
| 28 | |
| 29 | typedef uint8_t bool; |
| 30 | #define true 1 |
| 31 | #define false 0 |
| 32 | |
| 33 | #endif /* _STDTYPES_H */ |