Adjusted the numbering with low-interrupt.scm.

This commit is contained in:
mainzelm 2001-04-09 08:11:49 +00:00
parent a95c531327
commit 883b53e160
1 changed files with 6 additions and 4 deletions

View File

@ -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 */