License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / m32r / include / asm / setup.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
fabb626a
HT
2#ifndef _ASM_M32R_SETUP_H
3#define _ASM_M32R_SETUP_H
4
f7f4dc10 5#include <uapi/asm/setup.h>
7d1362c0 6
7d1362c0 7
1da177e4
LT
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
1da177e4
LT
25#define RAMDISK_IMAGE_START_MASK (0x07FF)
26#define RAMDISK_PROMPT_FLAG (0x8000)
27#define RAMDISK_LOAD_FLAG (0x4000)
28
1da177e4
LT
29extern unsigned long memory_start;
30extern unsigned long memory_end;
31
fabb626a 32#endif /* _ASM_M32R_SETUP_H */