Fix pseries hcall functions
Alan Modra
amodra at bigpond.net.au
Thu Feb 10 21:52:16 EST 2005
On Mon, Feb 07, 2005 at 02:44:18PM +1100, Anton Blanchard wrote:
> _GLOBAL(plpar_hcall)
> mfcr r0
Do you really need to save cr? ie. Does the hypervisor call trash
cr2, cr3 or cr4?
> _GLOBAL(plpar_hcall_4out)
> mfcr r0
> - std r0,-8(r1)
> - ld r14,112(r1)
> - stdu r1,-48(r1)
> -
> - std r8,32(r1) /* Save out ptrs. */
> - std r9,24(r1)
> - std r10,16(r1)
> - std r14,8(r1)
> -
> - HVSC /* invoke the hypervisor */
> + std r0,8(r1)
stw here.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Linuxppc64-dev
mailing list