2 * This file contains the code to perform calls to the
3 * iSeries LPAR hypervisor
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
11 #include <asm/ppc_asm.h>
12 #include <asm/processor.h>
19 * Invoke the iSeries hypervisor via the System Call instruction
20 * Parameters are passed to this routine in registers r3 - r10
22 * r3 contains the HV function to be called
23 * r4-r10 contain the operands to the hypervisor function
40 stdu r1,-(STACK_FRAME_OVERHEAD+16)(r1)
42 /* r0 = 0xffffffffffffffff indicates a hypervisor call */
46 /* Invoke the hypervisor */
54 /* return to caller, return value in r3 */
70 stdu r1,-(STACK_FRAME_OVERHEAD+32)(r1)