diff options
author | Timur Tabi <timur@freescale.com> | 2011-05-19 17:54:27 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-06-27 17:30:19 +0400 |
commit | bd497fc9782769d5bce58fbf468eabfce9e98ce0 (patch) | |
tree | 0dcbc696f096c42d9e6604ef6a07e167a5e01225 /kernel/rtmutex_common.h | |
parent | 6ec36b5848a8336d3a0010727b9365c3254d2d2e (diff) | |
download | linux-bd497fc9782769d5bce58fbf468eabfce9e98ce0.tar.xz |
powerpc: introduce ePAPR embedded hypervisor hcall interface
ePAPR hypervisors provide operating system services via a "hypercall"
interface. The following steps need to be performed to make an hcall:
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.
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.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'kernel/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions