~ubuntu-branches/ubuntu/hoary/s390-tools/hoary

« back to all changes in this revision

Viewing changes to zipl/boot/eckd1b.S

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2004-06-27 18:45:15 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040627184515-q7lnvli1j94gr6dv
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#  Ipl stage 1b loader new disk layout
 
3
#    Copyright (C) 2001 IBM Deutschland Entwicklung GmbH, IBM Corporation
 
4
#    Author(s): Antoinette Kaschner (anto@de.ibm.com),
 
5
#
 
6
#  startup for ipl at address 0
 
7
#  second stage boot loader is loaded to 0x2000 and starts at 0x2008
 
8
 
 
9
# The first 24 bytes are loaded by ipl to addresses 0-23 (a PSW and two CCWs).
 
10
# IPL1 record TICs to IPL2 record at offset X'218' .Byte 218 to 362 of IPL2 contains 
 
11
# seek/search/tic/read CCWs .    
 
12
        
 
13
        
 
14
        .globl _start
 
15
_start:
 
16
        .long  0,0                             # bootlist data
 
17
        .long  0,0
 
18
        .long  0x07000000+.Lseek,0x60000006    # seek  
 
19
.Lsearch:       
 
20
        .long  0x31000000+.Lseek+2,0x60000005  # search
 
21
        .long  0x08000000+.Lsearch,0x00000000  # tic back to search until found
 
22
        .long  0x06002000,0x60000000           # read record 4 into storage
 
23
        .long  0x06000000,0x60000000
 
24
        .long  0x06000000,0x60000000
 
25
        .long  0x06000000,0x60000000
 
26
        .long  0x06000000,0x60000000
 
27
        .long  0x06000000,0x60000000
 
28
        .long  0x06000000,0x60000000
 
29
        .long  0x06000000,0x60000000
 
30
        .long  0x06000000,0x60000000
 
31
        .long  0x06000000,0x60000000
 
32
        .long  0x06000000,0x60000000
 
33
        .long  0x06000000,0x20000000 
 
34
          
 
35
                
 
36
 .Lseek:
 
37
        .long  0x00000000,0x00000400           # seekargument for cyl 0 hd 0 rec 4