| 1 | .org 0x200 /* lowcore padding */ |
| 2 | .globl _start |
| 3 | _start: |
| 4 | lpswe start24_psw |
| 5 | _start24: |
| 6 | lgrl %r0,initial_r0 |
| 7 | lgrl %r1,expected_r0 |
| 8 | bal %r0,0f |
| 9 | 0: |
| 10 | cgrjne %r0,%r1,1f |
| 11 | lpswe success_psw |
| 12 | 1: |
| 13 | lpswe failure_psw |
| 14 | .align 8 |
| 15 | start24_psw: |
| 16 | .quad 0x160000000000,_start24 /* 24-bit mode, cc = 1, pm = 6 */ |
| 17 | initial_r0: |
| 18 | .quad 0x1234567887654321 |
| 19 | expected_r0: |
| 20 | .quad 0x1234567896000000 + 0b /* ilc = 2, cc = 1, pm = 6 */ |
| 21 | success_psw: |
| 22 | .quad 0x2000000000000,0xfff /* see is_special_wait_psw() */ |
| 23 | failure_psw: |
| 24 | .quad 0x2000000000000,0 /* disabled wait */ |