projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.8.9:
[sbcl.git]
/
src
/
runtime
/
alpha-osf1-os.c
diff --git
a/src/runtime/alpha-osf1-os.c
b/src/runtime/alpha-osf1-os.c
index
8610500
..
946a70e
100644
(file)
--- a/
src/runtime/alpha-osf1-os.c
+++ b/
src/runtime/alpha-osf1-os.c
@@
-19,6
+19,7
@@
#include <stdio.h>
#include <sys/param.h>
#include <sys/file.h>
#include <stdio.h>
#include <sys/param.h>
#include <sys/file.h>
+#include "sbcl.h"
#include "./signal.h"
#include "os.h"
#include "arch.h"
#include "./signal.h"
#include "os.h"
#include "arch.h"
@@
-26,7
+27,6
@@
#include "interrupt.h"
#include "interr.h"
#include "lispregs.h"
#include "interrupt.h"
#include "interr.h"
#include "lispregs.h"
-#include "sbcl.h"
#include <sys/socket.h>
#include <sys/utsname.h>
#include <sys/socket.h>
#include <sys/utsname.h>
@@
-41,9
+41,15
@@
#include "validate.h"
size_t os_vm_page_size;
#include "validate.h"
size_t os_vm_page_size;
-#if defined GENCGC /* unlikely ... */
-#error SBCL Alpha does not work with the GENCGC
-#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 *
@@
-81,7
+87,7
@@
os_context_fp_control(os_context_t *context)
void os_flush_icache(os_vm_address_t address, os_vm_size_t length)
{
#ifdef __GNUC__
void os_flush_icache(os_vm_address_t address, os_vm_size_t length)
{
#ifdef __GNUC__
- asm volatile ("imb" : : : "memory" );
+ asm volatile ("imb" : : : "memory" );
#else
/* digital CC has different syntax */
asm("imb");
#else
/* digital CC has different syntax */
asm("imb");