]>
Commit | Line | Data |
---|---|---|
80fea6e8 AG |
1 | /* |
2 | * First stage boot loader for virtio devices. The compiled output goes | |
3 | * into the pc-bios directory of qemu. | |
4 | * | |
5 | * Copyright (c) 2013 Alexander Graf <agraf@suse.de> | |
7f61cbc1 | 6 | * Copyright 2013 IBM Corp. |
80fea6e8 AG |
7 | * |
8 | * This work is licensed under the terms of the GNU GPL, version 2 or (at | |
9 | * your option) any later version. See the COPYING file in the top-level | |
10 | * directory. | |
11 | */ | |
12 | ||
13 | .globl _start | |
14 | _start: | |
15 | ||
16 | larl %r15, stack + 0x8000 /* Set up stack */ | |
17 | j main /* And call C */ | |
7f61cbc1 CB |
18 | |
19 | /* | |
20 | * void disabled_wait(void) | |
21 | * | |
22 | * stops the current guest cpu. | |
23 | */ | |
24 | .globl disabled_wait | |
25 | disabled_wait: | |
26 | larl %r1,disabled_wait_psw | |
27 | lpswe 0(%r1) | |
28 | ||
29 | .align 8 | |
30 | disabled_wait_psw: | |
31 | .quad 0x0002000180000000,0x0000000000000000 |