GNU Linux-libre 4.14.254-gnu1
[releases.git] / arch / m32r / include / asm / setup.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M32R_SETUP_H
3 #define _ASM_M32R_SETUP_H
4
5 #include <uapi/asm/setup.h>
6
7
8 #define PARAM                   ((unsigned char *)empty_zero_page)
9
10 #define MOUNT_ROOT_RDONLY       (*(unsigned long *) (PARAM+0x000))
11 #define RAMDISK_FLAGS           (*(unsigned long *) (PARAM+0x004))
12 #define ORIG_ROOT_DEV           (*(unsigned long *) (PARAM+0x008))
13 #define LOADER_TYPE             (*(unsigned long *) (PARAM+0x00c))
14 #define INITRD_START            (*(unsigned long *) (PARAM+0x010))
15 #define INITRD_SIZE             (*(unsigned long *) (PARAM+0x014))
16
17 #define M32R_CPUCLK             (*(unsigned long *) (PARAM+0x018))
18 #define M32R_BUSCLK             (*(unsigned long *) (PARAM+0x01c))
19 #define M32R_TIMER_DIVIDE       (*(unsigned long *) (PARAM+0x020))
20
21 #define COMMAND_LINE            ((char *) (PARAM+0x100))
22
23 #define SCREEN_INFO             (*(struct screen_info *) (PARAM+0x200))
24
25 #define RAMDISK_IMAGE_START_MASK        (0x07FF)
26 #define RAMDISK_PROMPT_FLAG             (0x8000)
27 #define RAMDISK_LOAD_FLAG               (0x4000)
28
29 extern unsigned long memory_start;
30 extern unsigned long memory_end;
31
32 #endif /* _ASM_M32R_SETUP_H */