1 /****************************************************************************
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 _ASM_BOOTINFO_H
20 #define _ASM_BOOTINFO_H
21 #include <linux/types.h>
22 #include <asm/setup.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define MACH_UNKNOWN 0
25 #define MACH_DSUNKNOWN 0
26 #define MACH_DS23100 1
27 #define MACH_DS5100 2
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define MACH_DS5000_200 3
30 #define MACH_DS5000_1XX 4
31 #define MACH_DS5000_XX 5
32 #define MACH_DS5000_2X0 6
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define MACH_DS5400 7
35 #define MACH_DS5500 8
36 #define MACH_DS5800 9
37 #define MACH_DS5900 10
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define MACH_MSP4200_EVAL 0
40 #define MACH_MSP4200_GW 1
41 #define MACH_MSP4200_FPGA 2
42 #define MACH_MSP7120_EVAL 3
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define MACH_MSP7120_GW 4
45 #define MACH_MSP7120_FPGA 5
46 #define MACH_MSP_OTHER 255
47 #define MACH_MIKROTIK_RB532 0
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define MACH_MIKROTIK_RB532A 1
50 #define CL_SIZE COMMAND_LINE_SIZE
51 #define BOOT_MEM_MAP_MAX 32
52 #define BOOT_MEM_RAM 1
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define BOOT_MEM_ROM_DATA 2
55 #define BOOT_MEM_RESERVED 3
56 struct boot_mem_map {
57 int nr_map;
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 struct boot_mem_map_entry {
60 phys_t addr;
61 phys_t size;
62 long type;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 } map[BOOT_MEM_MAP_MAX];
65 };
66 #endif