Skip to content

Commit 7347579

Browse files
committed
s390/head: adjust iplstart entry point
Move iplstart entry point to 0x200 again, instead of the middle of the ipl code. This way even the comment describing the ccw program is correct again. Acked-by: Vasily Gorbik <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent edd4a86 commit 7347579

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

arch/s390/boot/head.S

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@
3333
#define EP_OFFSET 0x10008
3434
#define EP_STRING "S390EP"
3535

36+
#define IPL_START 0x200
37+
3638
__HEAD
3739

3840
#define IPL_BS 0x730
3941
.org 0
40-
.long 0x00080000,0x80000000+iplstart # The first 24 bytes are loaded
42+
.long 0x00080000,0x80000000+IPL_START # The first 24 bytes are loaded
4143
.long 0x02000018,0x60000050 # by ipl to addresses 0-23.
4244
.long 0x02000068,0x60000050 # (a PSW and two CCWs).
4345
.fill 80-24,1,0x40 # bytes 24-79 are discarded !!
@@ -63,16 +65,17 @@ __HEAD
6365
.long 0x020006e0,0x20000050
6466

6567
.org __LC_RST_NEW_PSW # 0x1a0
66-
.quad 0,iplstart
68+
.quad 0,IPL_START
6769
.org __LC_EXT_NEW_PSW # 0x1b0
6870
.quad 0x0002000180000000,0x1b0 # disabled wait
6971
.org __LC_PGM_NEW_PSW # 0x1d0
7072
.quad 0x0000000180000000,startup_pgm_check_handler
7173
.org __LC_IO_NEW_PSW # 0x1f0
7274
.quad 0x0002000180000000,0x1f0 # disabled wait
7375

74-
.org 0x200
75-
76+
.org IPL_START
77+
ipl_start:
78+
j .Liplcont
7679
#
7780
# subroutine to wait for end I/O
7881
#
@@ -158,7 +161,7 @@ __HEAD
158161
.endr
159162
.long 0x02200050,0x00000000
160163

161-
iplstart:
164+
.Liplcont:
162165
mvi __LC_AR_MODE_ID,1 # set esame flag
163166
slr %r0,%r0 # set cpuid to zero
164167
lhi %r1,2 # mode 2 = esame (dump)

0 commit comments

Comments
 (0)