projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.7.4:
[sbcl.git]
/
src
/
runtime
/
sparc-sunos-os.c
diff --git
a/src/runtime/sparc-sunos-os.c
b/src/runtime/sparc-sunos-os.c
index
6b8364d
..
72a2931
100644
(file)
--- a/
src/runtime/sparc-sunos-os.c
+++ b/
src/runtime/sparc-sunos-os.c
@@
-36,8
+36,15
@@
#include "validate.h"
#include "validate.h"
-#if defined GENCGC /* unlikely ... */
-#include "gencgc.h"
+#ifdef LISP_FEATURE_SB_THREAD
+#error "Define threading support functions"
+#else
+int arch_os_thread_init(struct thread *thread) {
+ return 1; /* success */
+}
+int arch_os_thread_cleanup(struct thread *thread) {
+ return 1; /* success */
+}
#endif
os_context_register_t *
#endif
os_context_register_t *
@@
-77,6
+84,12
@@
os_context_sigmask_addr(os_context_t *context)
return &(context->uc_sigmask);
}
return &(context->uc_sigmask);
}
+unsigned long
+os_context_fp_control(os_context_t *context)
+{
+ return (context->uc_mcontext.fpregs.fpu_fsr);
+}
+
void os_flush_icache(os_vm_address_t address, os_vm_size_t length)
{
/* see sparc-assem.S */
void os_flush_icache(os_vm_address_t address, os_vm_size_t length)
{
/* see sparc-assem.S */