1
2 #ifndef __ALPHA_SETUP_H
3 #define __ALPHA_SETUP_H
4
5 #define COMMAND_LINE_SIZE 256
6
7
8
9
10
11
12 #define BOOT_PCB 0x20000000
13 #define BOOT_ADDR 0x20000000
14
15 #define BOOT_SIZE (16*1024)
16
17 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
18 #define KERNEL_START_PHYS 0x300000
19 #else
20 #define KERNEL_START_PHYS 0x1000000
21 #endif
22
23 #define KERNEL_START (PAGE_OFFSET+KERNEL_START_PHYS)
24 #define SWAPPER_PGD KERNEL_START
25 #define INIT_STACK (PAGE_OFFSET+KERNEL_START_PHYS+0x02000)
26 #define EMPTY_PGT (PAGE_OFFSET+KERNEL_START_PHYS+0x04000)
27 #define EMPTY_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x08000)
28 #define ZERO_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x0A000)
29
30 #define START_ADDR (PAGE_OFFSET+KERNEL_START_PHYS+0x10000)
31
32
33
34
35
36
37
38 #define PARAM ZERO_PGE
39 #define COMMAND_LINE ((char*)(PARAM + 0x0000))
40 #define INITRD_START (*(unsigned long *) (PARAM+0x100))
41 #define INITRD_SIZE (*(unsigned long *) (PARAM+0x108))
42
43 #endif