0001
0002 #ifndef __ALPHA_SETUP_H
0003 #define __ALPHA_SETUP_H
0004
0005 #include <uapi/asm/setup.h>
0006
0007
0008
0009
0010
0011
0012 #define BOOT_PCB 0x20000000
0013 #define BOOT_ADDR 0x20000000
0014
0015 #define BOOT_SIZE (16*1024)
0016
0017 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
0018 #define KERNEL_START_PHYS 0x300000
0019 #else
0020 #define KERNEL_START_PHYS 0x1000000
0021 #endif
0022
0023 #define KERNEL_START (PAGE_OFFSET+KERNEL_START_PHYS)
0024 #define SWAPPER_PGD KERNEL_START
0025 #define INIT_STACK (PAGE_OFFSET+KERNEL_START_PHYS+0x02000)
0026 #define EMPTY_PGT (PAGE_OFFSET+KERNEL_START_PHYS+0x04000)
0027 #define EMPTY_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x08000)
0028 #define ZERO_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x0A000)
0029
0030 #define START_ADDR (PAGE_OFFSET+KERNEL_START_PHYS+0x10000)
0031
0032
0033
0034
0035
0036
0037
0038 #define PARAM ZERO_PGE
0039 #define COMMAND_LINE ((char *)(absolute_pointer(PARAM + 0x0000)))
0040 #define INITRD_START (*(unsigned long *) (PARAM+0x100))
0041 #define INITRD_SIZE (*(unsigned long *) (PARAM+0x108))
0042
0043 #endif