blob: 6dda6a54cb300de6346f37ced87e88db79e181b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* include/asm-s390/setup.h
*
* S390 version
* Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
*/
#ifndef _ASM_S390_SETUP_H
#define _ASM_S390_SETUP_H
#define PARMAREA 0x10400
#ifndef __ASSEMBLER__
#define ORIG_ROOT_DEV (*(unsigned long *) (0x10400))
#define MOUNT_ROOT_RDONLY (*(unsigned short *) (0x10408))
#define MEMORY_SIZE (*(unsigned long *) (0x1040a))
#define MACHINE_FLAGS (*(unsigned long *) (0x10412))
#define INITRD_START (*(unsigned long *) (0x1041a))
#define INITRD_SIZE (*(unsigned long *) (0x10422))
#define RAMDISK_FLAGS (*(unsigned short *) (0x1042a))
#define COMMAND_LINE ((char *) (0x10480))
#else
#define ORIG_ROOT_DEV 0x10400
#define MOUNT_ROOT_RDONLY 0x10408
#define MEMORY_SIZE 0x1040a
#define MACHINE_FLAGS 0x10412
#define INITRD_START 0x1041a
#define INITRD_SIZE 0x10422
#define RAMDISK_FLAGS 0x1042a
#define COMMAND_LINE 0x10480
#endif
#define COMMAND_LINE_SIZE 896
/*
* Machine features detected in head.S
*/
#define MACHINE_IS_VM (MACHINE_FLAGS & 1)
#define MACHINE_IS_P390 (MACHINE_FLAGS & 4)
#define RAMDISK_ORIGIN 0x800000
#define RAMDISK_SIZE 0x800000
#define RAMDISK_BLKSIZE 0x1000
#define RAMDISK_IMAGE_START_MASK 0x07FF
#define RAMDISK_PROMPT_FLAG 0x8000
#define RAMDISK_LOAD_FLAG 0x4000
#endif
|