projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.5.32: partial fix for DISASSEMBLE bug reported by Peter Graves
[sbcl.git]
/
src
/
runtime
/
sparc-linux-os.h
diff --git
a/src/runtime/sparc-linux-os.h
b/src/runtime/sparc-linux-os.h
index
a8305f3
..
76d9eb6
100644
(file)
--- a/
src/runtime/sparc-linux-os.h
+++ b/
src/runtime/sparc-linux-os.h
@@
-2,10
+2,14
@@
#define _SPARC_LINUX_OS_H
typedef struct sigcontext os_context_t;
#define _SPARC_LINUX_OS_H
typedef struct sigcontext os_context_t;
+typedef unsigned long os_context_register_t;
static inline os_context_t *arch_os_get_context(void **void_context) {
static inline os_context_t *arch_os_get_context(void **void_context) {
- asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */
- return (os_context_t *) (void_context + 37);
+ asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */
+ return (os_context_t *) (void_context + 37);
}
}
+unsigned long os_context_fp_control(os_context_t *context);
+void os_restore_fp_control(os_context_t *context);
+
#endif /* _SPARC_LINUX_OS_H */
#endif /* _SPARC_LINUX_OS_H */