From 3cf53f181e7360f48fecc50a925d46029888af1d Mon Sep 17 00:00:00 2001 From: kib Date: Tue, 10 Nov 2009 11:43:07 +0000 Subject: Extract the code that records syscall results in the frame into MD function cpu_set_syscall_retval(). Suggested by: marcel Reviewed by: marcel, davidxu PowerPC, ARM, ia64 changes: marcel Sparc64 tested and reviewed by: marius, also sunv reviewed MIPS tested by: gonzo MFC after: 1 month --- sys/sparc64/include/pcb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/sparc64/include') diff --git a/sys/sparc64/include/pcb.h b/sys/sparc64/include/pcb.h index 7e8294a..f23c1f2 100644 --- a/sys/sparc64/include/pcb.h +++ b/sys/sparc64/include/pcb.h @@ -49,7 +49,8 @@ struct pcb { uint64_t pcb_nsaved; uint64_t pcb_pc; uint64_t pcb_sp; - uint64_t pcb_pad[4]; + uint64_t pcb_tpc; + uint64_t pcb_pad[3]; } __aligned(64); #ifdef _KERNEL -- cgit v1.1