iPXE
include
stdint.h
Go to the documentation of this file.
1
#ifndef _STDINT_H
2
#define _STDINT_H
3
4
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
5
FILE_SECBOOT
( PERMITTED );
6
7
/*
8
* This is a standard predefined macro on all gcc's I've seen. It's
9
* important that we define size_t in the same way as the compiler,
10
* because that's what it's expecting when it checks %zd/%zx printf
11
* format specifiers.
12
*/
13
#ifndef __SIZE_TYPE__
14
#define __SIZE_TYPE__ unsigned long
/* safe choice on most systems */
15
#endif
16
17
#include <
bits/stdint.h
>
18
19
typedef
int8_t
s8
;
20
typedef
uint8_t
u8
;
21
typedef
int16_t
s16
;
22
typedef
uint16_t
u16
;
23
typedef
int32_t
s32
;
24
typedef
uint32_t
u32
;
25
typedef
int64_t
s64
;
26
typedef
uint64_t
u64
;
27
28
typedef
int8_t
int8
;
29
typedef
uint8_t
uint8
;
30
typedef
int16_t
int16
;
31
typedef
uint16_t
uint16
;
32
typedef
int32_t
int32
;
33
typedef
uint32_t
uint32
;
34
typedef
int64_t
int64
;
35
typedef
uint64_t
uint64
;
36
37
#endif
/* _STDINT_H */
stdint.h
int16_t
signed short int16_t
Definition
stdint.h:16
uint16_t
unsigned short uint16_t
Definition
stdint.h:11
uint32_t
unsigned int uint32_t
Definition
stdint.h:12
uint64_t
unsigned long long uint64_t
Definition
stdint.h:13
int32_t
signed int int32_t
Definition
stdint.h:17
uint8_t
unsigned char uint8_t
Definition
stdint.h:10
int64_t
signed long long int64_t
Definition
stdint.h:18
int8_t
signed char int8_t
Definition
stdint.h:15
FILE_LICENCE
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition
compiler.h:896
FILE_SECBOOT
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition
compiler.h:926
u8
#define u8
Definition
igbvf_osdep.h:40
uint8
uint8_t uint8
Definition
stdint.h:29
s64
int64_t s64
Definition
stdint.h:25
u64
uint64_t u64
Definition
stdint.h:26
int64
int64_t int64
Definition
stdint.h:34
s8
int8_t s8
Definition
stdint.h:19
int16
int16_t int16
Definition
stdint.h:30
int8
int8_t int8
Definition
stdint.h:28
s16
int16_t s16
Definition
stdint.h:21
int32
int32_t int32
Definition
stdint.h:32
uint64
uint64_t uint64
Definition
stdint.h:35
uint16
uint16_t uint16
Definition
stdint.h:31
uint32
uint32_t uint32
Definition
stdint.h:33
s32
int32_t s32
Definition
stdint.h:23
u16
#define u16
Definition
vga.h:20
u32
#define u32
Definition
vga.h:21
Generated by
1.14.0