| * sie64a.S - low level sie call |
| * Copyright IBM Corp. 2008 |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License (version 2 only) |
| * as published by the Free Software Foundation. |
| * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> |
| #include <asm/asm-offsets.h> |
| SP_R5 = 5 * 8 # offset into stackframe |
| * sie64a calling convention: |
| * %r2 pointer to sie control block |
| * %r3 guest register save area |
| stmg %r5,%r14,SP_R5(%r15) # save register on entry |
| lgr %r14,%r2 # pointer to sie control block |
| lmg %r0,%r13,0(%r3) # load guest gprs 0-13 |
| stmg %r0,%r13,0(%r14) # save guest gprs 0-13 |
| stmg %r0,%r13,0(%r14) # save guest gprs 0-13 |