[OpenBIOS] [PATCHv2 07/11] SPARC64: save/restore entire CPU state when entering/leaving CIF
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Sun Aug 28 18:24:52 CEST 2016
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
arch/sparc64/call-client.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/sparc64/call-client.S b/arch/sparc64/call-client.S
index 9489aa6..82657c6 100644
--- a/arch/sparc64/call-client.S
+++ b/arch/sparc64/call-client.S
@@ -80,7 +80,7 @@ sparc64_of_client_interface:
add %g7, 8, %g7
stx %g7, [%g1 + 0x4d0]
- SAVE_CPU_WINDOW_STATE(cif)
+ SAVE_CPU_STATE(cif)
/* Move to OpenBIOS context stack */
setx _fcstack_ptr, %g6, %g7
@@ -107,7 +107,7 @@ sparc64_of_client_interface:
/* Return value */
stx %o0, [%g1 + 0x70]
- RESTORE_CPU_WINDOW_STATE(cif)
+ RESTORE_CPU_STATE(cif)
add %g1, CONTEXT_STATE_SIZE, %g5
setx _fcstack_ptr, %g6, %g7
--
1.7.10.4
More information about the OpenBIOS
mailing list