From 883b53e160dccfafd05916a124e72099da817ed1 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Mon, 9 Apr 2001 08:11:49 +0000 Subject: [PATCH] Adjusted the numbering with low-interrupt.scm. --- scsh/scsh_aux.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scsh/scsh_aux.h b/scsh/scsh_aux.h index ba0c2cf..774c20c 100644 --- a/scsh/scsh_aux.h +++ b/scsh/scsh_aux.h @@ -8,13 +8,15 @@ /* These are the interrupt numbers used by the S48/scsh VM. -** The first three are S48 interrupts. The rest were added for +** The first two are S48 interrupts. The rest were added for ** scsh to support Unix signals. Note that not all Unixes support ** all these signals. +** +** !!! The numbers have to match the enumeration low-interrupt !!! */ -#define scshint_keyboard (2) /* S48 Unix SIGINT signal */ -#define scshint_alarm (3) /* S48 Unix SIGALRM signal */ -/* #define scshint_memory_shortage (2) */ +#define scshint_alarm (0) /* S48 Unix SIGALRM signal */ +#define scshint_keyboard (1) /* S48 Unix SIGINT signal */ +// left out post-gc and i/o-completion #define scshint_chld (4) /* Interrupts from here down are */ #define scshint_cont (5) /* Unix signals. The last ten are */ #define scshint_hup (6) /* non-Posix, hence not necessarily */