blob: d4cb389e1d94737d0182f76819a1c7090a7a88ea [file] [log] [blame]
Elliott Hughesabd62612013-11-08 11:45:48 -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 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_ASM_X86_E820_H
20#define _UAPI_ASM_X86_E820_H
21#define E820MAP 0x2d0
22#define E820MAX 128
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define E820_X_MAX E820MAX
25#define E820NR 0x1e8
26#define E820_RAM 1
27#define E820_RESERVED 2
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define E820_ACPI 3
30#define E820_NVS 4
31#define E820_UNUSABLE 5
32#define E820_RESERVED_KERN 128
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#ifndef __ASSEMBLY__
35#include <linux/types.h>
36struct e820entry {
Tao Baod7db5942015-01-28 10:07:51 -080037 __u64 addr;
Elliott Hughesabd62612013-11-08 11:45:48 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 __u64 size;
40 __u32 type;
Elliott Hughesabd62612013-11-08 11:45:48 -080041} __attribute__((packed));
42struct e820map {
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 __u32 nr_map;
45 struct e820entry map[E820_X_MAX];
Elliott Hughesabd62612013-11-08 11:45:48 -080046};
47#define ISA_START_ADDRESS 0xa0000
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define ISA_END_ADDRESS 0x100000
50#define BIOS_BEGIN 0x000a0000
51#define BIOS_END 0x00100000
52#define BIOS_ROM_BASE 0xffe00000
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define BIOS_ROM_END 0xffffffff
55#endif
56#endif