mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This commit is based on the s390-tools-1.39.0 version. Changes on top of s390-tools-1.39.0: - Add MIT license to all source files - Add LICENSE file - Transform REAMDE to README.md (markdown) - Add AUTHORS.md file - Add CONTRIBUTING.md file - Move changelog from README to CHANGELOG.md file Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
38 lines
1.2 KiB
ArmAsm
38 lines
1.2 KiB
ArmAsm
#
|
|
# IPL stage 1 loader for ECKD
|
|
#
|
|
# Copyright IBM Corp. 2001, 2017
|
|
#
|
|
# s390-tools is free software; you can redistribute it and/or modify
|
|
# it under the terms of the MIT license. See LICENSE for details.
|
|
#
|
|
# Stage 1 is loaded to 0x18-0x80 and is used to load stage 1b (two blocks) with
|
|
# seek/search/tic/read CCWs. After stage 1b is loaded we tic to it.
|
|
|
|
.globl _start
|
|
_start:
|
|
.long 0x07000000+.Lseek1,0x60000006 # seek 1
|
|
.Lsearch1:
|
|
.long 0x31000000+.Lseek1+2,0x60000005 # search
|
|
.long 0x08000000+.Lsearch1,0x00000000 # tic back to search until found
|
|
.long 0x06000000,0x40000000 # read
|
|
|
|
.long 0x07000000+.Lseek2,0x60000006 # seek 2
|
|
.Lsearch2:
|
|
.long 0x31000000+.Lseek2+2,0x60000005 # search
|
|
.long 0x08000000+.Lsearch2,0x00000000 # tic back to search until found
|
|
.long 0x06000000,0x40000000 # read
|
|
.Ltick:
|
|
.long 0x08000000,0x00000000 # tic to stage 1b
|
|
.Lseek1:
|
|
.long 0x00000000,0x00000000 # seekarg 1
|
|
.Lseek2:
|
|
.long 0x00000000,0x00000000 # seekarg 2
|
|
|
|
.long 0x00000000,0x00000000 # bootinfo
|
|
.long 0x00000000,0x00000000
|
|
.long 0x00000000,0x00000000
|
|
.long 0x00000000,0x00000000
|
|
.long 0x00000000,0x00000000
|
|
.Lend:
|