projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.6.9: micro-optimize portions of the reader
[sbcl.git]
/
src
/
runtime
/
linux-os.h
diff --git
a/src/runtime/linux-os.h
b/src/runtime/linux-os.h
index
d010704
..
e72aa72
100644
(file)
--- a/
src/runtime/linux-os.h
+++ b/
src/runtime/linux-os.h
@@
-9,10
+9,6
@@
* files for more information.
*/
* files for more information.
*/
-/*
- * $Header$
- */
-
#include <stdlib.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/mman.h>
@@
-27,6
+23,8
@@
#include <asm/unistd.h>
#include <linux/version.h>
#include <asm/unistd.h>
#include <linux/version.h>
+#include "target-arch-os.h"
+#include "target-arch.h"
#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c))
typedef caddr_t os_vm_address_t;
#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c))
typedef caddr_t os_vm_address_t;
@@
-34,12
+32,12
@@
typedef size_t os_vm_size_t;
typedef off_t os_vm_offset_t;
typedef int os_vm_prot_t;
typedef off_t os_vm_offset_t;
typedef int os_vm_prot_t;
-typedef struct ucontext os_context_t;
-
#define OS_VM_PROT_READ PROT_READ
#define OS_VM_PROT_WRITE PROT_WRITE
#define OS_VM_PROT_EXECUTE PROT_EXEC
#define OS_VM_PROT_READ PROT_READ
#define OS_VM_PROT_WRITE PROT_WRITE
#define OS_VM_PROT_EXECUTE PROT_EXEC
-#define OS_VM_DEFAULT_PAGESIZE 4096
+#define SIG_MEMORY_FAULT SIGSEGV
+
+#define SIG_INTERRUPT_THREAD (SIGRTMIN)
+#define SIG_STOP_FOR_GC (SIGRTMIN+1)
-#define SET_FPU_CONTROL_WORD(cw) asm("fldcw %0" : : "m" (cw))