1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 #ifndef _XTENSA_BOOTPARAM_H
16 #define _XTENSA_BOOTPARAM_H
17
18 #define BP_VERSION 0x0001
19
20 #define BP_TAG_COMMAND_LINE 0x1001
21 #define BP_TAG_INITRD 0x1002
22 #define BP_TAG_MEMORY 0x1003
23 #define BP_TAG_SERIAL_BAUDRATE 0x1004
24 #define BP_TAG_SERIAL_PORT 0x1005
25 #define BP_TAG_FDT 0x1006
26
27 #define BP_TAG_FIRST 0x7B0B
28 #define BP_TAG_LAST 0x7E0B
29
30 #ifndef __ASSEMBLY__
31
32
33
34 typedef struct bp_tag {
35 unsigned short id;
36 unsigned short size;
37 unsigned long data[0];
38 } bp_tag_t;
39
40 struct bp_meminfo {
41 unsigned long type;
42 unsigned long start;
43 unsigned long end;
44 };
45
46 #define MEMORY_TYPE_CONVENTIONAL 0x1000
47 #define MEMORY_TYPE_NONE 0x2000
48
49 #endif
50 #endif