diff options
author | Marius Strobl <marius@FreeBSD.org> | 2007-01-19 11:15:34 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2007-01-19 11:15:34 +0000 |
commit | 0ca3609e30f74cad1a9787c7afaa84aca4e8aa1f (patch) | |
tree | 2081798bc33b8d901626e55700e1b4e8b3beb0dd /sys/sparc64/include/frame.h | |
parent | 7e2ff8bbff073b8f2d10ad9d4f1929e66f16395d (diff) |
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.
Notes
Notes:
svn path=/head/; revision=166105
Diffstat (limited to 'sys/sparc64/include/frame.h')
-rw-r--r-- | sys/sparc64/include/frame.h | 6 |
1 files changed, 5 insertions, 1 deletions
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_ */ |