diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /include/asm-sparc64/fpumacro.h | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'include/asm-sparc64/fpumacro.h')
-rw-r--r-- | include/asm-sparc64/fpumacro.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-sparc64/fpumacro.h b/include/asm-sparc64/fpumacro.h index dab134472..91b9b81f8 100644 --- a/include/asm-sparc64/fpumacro.h +++ b/include/asm-sparc64/fpumacro.h @@ -7,6 +7,16 @@ #ifndef _SPARC64_FPUMACRO_H #define _SPARC64_FPUMACRO_H +#include <asm/asi.h> + +struct fpustate { + u32 regs[64]; + u64 fsr; + u64 gsr; +}; + +#define FPUSTATE (struct fpustate *)(((unsigned long)current) + (((PAGE_SIZE<<1)-((64*4)+(2*8))) & ~(64 - 1))) + extern __inline__ unsigned long fprs_read(void) { unsigned long retval; |