2 * arch/ppc64/kernel/hvCall.S
5 * This file contains the code to perform calls to the
6 * iSeries LPAR hypervisor
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version
11 * 2 of the License, or (at your option) any later version.
14 #include <asm/ppc_asm.h>
15 #include <asm/processor.h>
22 * Invoke the iSeries hypervisor via the System Call instruction
23 * Parameters are passed to this routine in registers r3 - r10
25 * r3 contains the HV function to be called
26 * r4-r10 contain the operands to the hypervisor function
43 stdu r1,-(STACK_FRAME_OVERHEAD+16)(r1)
45 /* r0 = 0xffffffffffffffff indicates a hypervisor call */
49 /* Invoke the hypervisor */
57 /* return to caller, return value in r3 */
73 stdu r1,-(STACK_FRAME_OVERHEAD+32)(r1)