File: linux_layout.h

package info (click to toggle)
s390-tools 2.35.0-2
  • links: PTS
  • area: main
  • in suites: forky
  • size: 12,248 kB
  • sloc: ansic: 184,236; sh: 12,152; cpp: 4,954; makefile: 2,763; perl: 2,519; asm: 1,085; python: 697; xml: 29
file content (35 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (3)
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
/*
 * s390 Linux layout definitions
 *
 * Copyright IBM Corp. 2020
 *
 * s390-tools is free software; you can redistribute it and/or modify
 * it under the terms of the MIT license. See LICENSE for details.
 */

#ifndef LINUX_LAYOUT_H
#define LINUX_LAYOUT_H

#include "lib/zt_common.h"

/* Entry address offsets */
#define IMAGE_ENTRY		_AC(0x10000, UL)
#define IMAGE_ENTRY_KDUMP	_AC(0x10010, UL)

/* Parameter address offsets */
#define PARMAREA		_AC(0x10400, UL)
#define IPL_DEVICE		_AC(0x10400, UL)
#define INITRD_START		_AC(0x10408, UL)
#define INITRD_SIZE		_AC(0x10410, UL)
#define OLDMEM_BASE		_AC(0x10418, UL)
#define OLDMEM_SIZE		_AC(0x10420, UL)
#define MAX_COMMAND_LINE_SIZE	_AC(0x10430, UL)
#define COMMAND_LINE		_AC(0x10480, UL)

/* Parameter sizes */
#define LEGACY_COMMAND_LINE_SIZE	896


#ifndef __ASSEMBLER__
#endif /* __ASSEMBLER__ */
#endif /* LINUX_LAYOUT_H */