Thread (33 messages) 33 messages, 7 authors, 2011-06-22

Re: [PATCH 2/7] powerpc: introduce ePAPR embedded hypervisor hcall interface

From: Kumar Gala <hidden>
Date: 2011-06-22 11:41:49
Also in: lkml

On May 19, 2011, at 8:54 AM, Timur Tabi wrote:
ePAPR hypervisors provide operating system services via a "hypercall"
interface.  The following steps need to be performed to make an hcall:
=20
1. Load r11 with the hcall number
2. Load specific other registers with parameters
3. Issue instrucion "sc 1"
4. The return code is in r3
5. Other returned parameters are in other registers.
=20
To provide this service to the kernel, these steps are wrapped in =
inline
assembly functions.  Standard ePAPR hcalls are in epapr_hcalls.h, and =
Freescale
extensions are in fsl_hcalls.h.
=20
Signed-off-by: Timur Tabi <redacted>
---
arch/powerpc/include/asm/epapr_hcalls.h |  502 +++++++++++++++++++++++
arch/powerpc/include/asm/fsl_hcalls.h   |  655 =
+++++++++++++++++++++++++++++++
2 files changed, 1157 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/include/asm/epapr_hcalls.h
create mode 100644 arch/powerpc/include/asm/fsl_hcalls.h
applied to next

- k=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help