blob: 8a88ff0131416511cbc3341c4a58be315df29186 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef __ASM_E820_H
13#define __ASM_E820_H
14#define E820MAP 0x2d0
15#define E820MAX 128
16#define E820NR 0x1e8
17
18#define E820_RAM 1
19#define E820_RESERVED 2
20#define E820_ACPI 3
21#define E820_NVS 4
22
23#ifndef __ASSEMBLY__
24struct e820entry {
25 __u64 addr;
26 __u64 size;
27 __u32 type;
28} __attribute__((packed));
29
30struct e820map {
31 __u32 nr_map;
32 struct e820entry map[E820MAX];
33};
34#endif
35
36#endif