hvCall.S (db8c246937713e60b7628661ccc187eeb81f2bae) hvCall.S (b1576fec7f4dd4657694fefc97fda4cf28ec68e9)
1/*
2 * This file contains the generic code to perform a call to the
3 * pSeries LPAR hypervisor.
4 *
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.

--- 35 unchanged lines hidden (view full) ---

44 std r6,STK_PARAM(R6)(r1); \
45 std r7,STK_PARAM(R7)(r1); \
46 std r8,STK_PARAM(R8)(r1); \
47 std r9,STK_PARAM(R9)(r1); \
48 std r10,STK_PARAM(R10)(r1); \
49 std r0,16(r1); \
50 addi r4,r1,STK_PARAM(FIRST_REG); \
51 stdu r1,-STACK_FRAME_OVERHEAD(r1); \
1/*
2 * This file contains the generic code to perform a call to the
3 * pSeries LPAR hypervisor.
4 *
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.

--- 35 unchanged lines hidden (view full) ---

44 std r6,STK_PARAM(R6)(r1); \
45 std r7,STK_PARAM(R7)(r1); \
46 std r8,STK_PARAM(R8)(r1); \
47 std r9,STK_PARAM(R9)(r1); \
48 std r10,STK_PARAM(R10)(r1); \
49 std r0,16(r1); \
50 addi r4,r1,STK_PARAM(FIRST_REG); \
51 stdu r1,-STACK_FRAME_OVERHEAD(r1); \
52 bl .__trace_hcall_entry; \
52 bl __trace_hcall_entry; \
53 addi r1,r1,STACK_FRAME_OVERHEAD; \
54 ld r0,16(r1); \
55 ld r3,STK_PARAM(R3)(r1); \
56 ld r4,STK_PARAM(R4)(r1); \
57 ld r5,STK_PARAM(R5)(r1); \
58 ld r6,STK_PARAM(R6)(r1); \
59 ld r7,STK_PARAM(R7)(r1); \
60 ld r8,STK_PARAM(R8)(r1); \

--- 17 unchanged lines hidden (view full) ---

78 beq+ 1f; \
79 mflr r0; \
80 ld r6,STK_PARAM(R3)(r1); \
81 std r3,STK_PARAM(R3)(r1); \
82 mr r4,r3; \
83 mr r3,r6; \
84 std r0,16(r1); \
85 stdu r1,-STACK_FRAME_OVERHEAD(r1); \
53 addi r1,r1,STACK_FRAME_OVERHEAD; \
54 ld r0,16(r1); \
55 ld r3,STK_PARAM(R3)(r1); \
56 ld r4,STK_PARAM(R4)(r1); \
57 ld r5,STK_PARAM(R5)(r1); \
58 ld r6,STK_PARAM(R6)(r1); \
59 ld r7,STK_PARAM(R7)(r1); \
60 ld r8,STK_PARAM(R8)(r1); \

--- 17 unchanged lines hidden (view full) ---

78 beq+ 1f; \
79 mflr r0; \
80 ld r6,STK_PARAM(R3)(r1); \
81 std r3,STK_PARAM(R3)(r1); \
82 mr r4,r3; \
83 mr r3,r6; \
84 std r0,16(r1); \
85 stdu r1,-STACK_FRAME_OVERHEAD(r1); \
86 bl .__trace_hcall_exit; \
86 bl __trace_hcall_exit; \
87 addi r1,r1,STACK_FRAME_OVERHEAD; \
88 ld r0,16(r1); \
89 ld r3,STK_PARAM(R3)(r1); \
90 mtlr r0; \
911:
92
93#define HCALL_INST_POSTCALL_NORETS \
94 li r5,0; \

--- 174 unchanged lines hidden ---
87 addi r1,r1,STACK_FRAME_OVERHEAD; \
88 ld r0,16(r1); \
89 ld r3,STK_PARAM(R3)(r1); \
90 mtlr r0; \
911:
92
93#define HCALL_INST_POSTCALL_NORETS \
94 li r5,0; \

--- 174 unchanged lines hidden ---