From 0ca3609e30f74cad1a9787c7afaa84aca4e8aa1f Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Fri, 19 Jan 2007 11:15:34 +0000 Subject: Convert the remainder of the low hanging fruits regarding including headers in .S directly rather than getting to their macros through genassym.c/assym.s so there are less headers genassym.c has to be kept in sync with. While at it fix some stytle(9) bugs (indentation, prototype format, sort headers, etc) and remove trailing whitespace. --- sys/sparc64/include/frame.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/sparc64/include/frame.h') diff --git a/sys/sparc64/include/frame.h b/sys/sparc64/include/frame.h index a82d4aa3ee92..5b776f2205ca 100644 --- a/sys/sparc64/include/frame.h +++ b/sys/sparc64/include/frame.h @@ -33,6 +33,8 @@ #define SPOFF 2047 #define BIAS SPOFF /* XXX - open/netbsd compat */ +#ifndef LOCORE + /* * NOTE: keep this structure in sync with struct reg and struct mcontext. */ @@ -56,7 +58,7 @@ struct trapframe { uint64_t tf_pad[2]; }; #define tf_sp tf_out[6] - + #define TF_DONE(tf) do { \ tf->tf_tpc = tf->tf_tnpc; \ tf->tf_tnpc += 4; \ @@ -86,4 +88,6 @@ struct thread; int rwindow_save(struct thread *td); int rwindow_load(struct thread *td, struct trapframe *tf, int n); +#endif /* !LOCORE */ + #endif /* !_MACHINE_FRAME_H_ */ -- cgit v1.2.3