projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Windows console I/O overhaul
[sbcl.git]
/
src
/
runtime
/
interrupt.h
diff --git
a/src/runtime/interrupt.h
b/src/runtime/interrupt.h
index
90fad67
..
83514d7
100644
(file)
--- a/
src/runtime/interrupt.h
+++ b/
src/runtime/interrupt.h
@@
-12,7
+12,7
@@
#if !defined(_INCLUDE_INTERRUPT_H_)
#define _INCLUDE_INTERRUPT_H_
#if !defined(_INCLUDE_INTERRUPT_H_)
#define _INCLUDE_INTERRUPT_H_
-#include <signal.h>
+#include "runtime.h"
#include <string.h>
/*
#include <string.h>
/*
@@
-24,7
+24,12
@@
* stack by the kernel, so copying a libc-sized sigset_t into it will
* overflow and cause other data on the stack to be corrupted */
/* FIXME: do not rely on NSIG being a multiple of 8 */
* stack by the kernel, so copying a libc-sized sigset_t into it will
* overflow and cause other data on the stack to be corrupted */
/* FIXME: do not rely on NSIG being a multiple of 8 */
-#define REAL_SIGSET_SIZE_BYTES ((NSIG/8))
+
+#ifdef LISP_FEATURE_WIN32
+# define REAL_SIGSET_SIZE_BYTES (4)
+#else
+# define REAL_SIGSET_SIZE_BYTES ((NSIG/8))
+#endif
static inline void
sigcopyset(sigset_t *new, sigset_t *old)
static inline void
sigcopyset(sigset_t *new, sigset_t *old)
@@
-113,7
+118,7
@@
struct interrupt_data {
* and with no pending handler. Both deferrable interrupt handlers
* and gc are careful not to clobber each other's pending_mask. */
boolean gc_blocked_deferrables;
* and with no pending handler. Both deferrable interrupt handlers
* and gc are careful not to clobber each other's pending_mask. */
boolean gc_blocked_deferrables;
-#ifdef LISP_FEATURE_PPC
+#ifdef GENCGC_IS_PRECISE
/* On PPC when consing wants to turn to alloc(), it does so via a
* trap. When alloc() wants to save the sigmask it consults
* allocation_trap_context. It does not look up the most recent
/* On PPC when consing wants to turn to alloc(), it does so via a
* trap. When alloc() wants to save the sigmask it consults
* allocation_trap_context. It does not look up the most recent
@@
-180,8
+185,6
@@
extern void reset_thread_control_stack_guard_page(struct thread *th);
# ifdef LISP_FEATURE_SB_THRUPTION
void thruption_handler(int signal, siginfo_t *info, os_context_t *context);
# endif
# ifdef LISP_FEATURE_SB_THRUPTION
void thruption_handler(int signal, siginfo_t *info, os_context_t *context);
# endif
-void rtmin0_handler(int signal, siginfo_t *info, os_context_t *context);
-void rtmin1_handler(int signal, siginfo_t *info, os_context_t *context);
#endif
#endif
#endif
#endif