summaryrefslogtreecommitdiff
path: root/arch/x86/include/uapi/asm/e820/types.h
blob: 54b812e80bac119c8100da4abbc3f85d73193482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _UAPI_ASM_E820_TYPES_H
#define _UAPI_ASM_E820_TYPES_H

/* The maximum number of entries in E820MAP: */
#define E820MAX			128

#ifndef __ASSEMBLY__

/*
 * A single E820 map entry, describing a memory range of [addr...addr+size-1],
 * of 'type' memory type:
 */
struct e820_entry {
	__u64 addr;
	__u64 size;
	__u32 type;
} __attribute__((packed));

#endif /* __ASSEMBLY__ */

#endif /* _UAPI_ASM_E820_TYPES_H */