From 71b6f31d4e9ca47f1140e35415dbd2d40a544cd5 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 5 Oct 2005 08:45:55 +0000 Subject: [PATCH] Let TTY call SYS_ABORT --- kernel/table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/table.c b/kernel/table.c index 1916b61cc..b63ccc020 100755 --- a/kernel/table.c +++ b/kernel/table.c @@ -84,6 +84,7 @@ PUBLIC char *t_stack[TOT_STACK_SPACE / sizeof(char *)]; | c(SYS_GETINFO) | c(SYS_EXIT) | c(SYS_TIMES) | c(SYS_SETALARM)) #define DRV_C (FS_C | c(SYS_SEGCTL) | c(SYS_IRQCTL) | c(SYS_INT86) \ | c(SYS_DEVIO) | c(SYS_VDEVIO) | c(SYS_SDEVIO)) +#define TTY_C (DRV_C | c(SYS_ABORT)) #define MEM_C (DRV_C | c(SYS_PHYSCOPY) | c(SYS_PHYSVCOPY) | c(SYS_VM_MAP)) /* The system image table lists all programs that are part of the boot image. @@ -102,7 +103,7 @@ PUBLIC struct boot_image image[] = { { PM_PROC_NR, 0, SRV_F, 32, 3, 0, SRV_T, SRV_M, PM_C, "pm" }, { FS_PROC_NR, 0, SRV_F, 32, 4, 0, SRV_T, SRV_M, FS_C, "fs" }, { RS_PROC_NR, 0, SRV_F, 4, 3, 0, SRV_T, SYS_M, RS_C, "rs" }, - { TTY_PROC_NR, 0, SRV_F, 4, 1, 0, SRV_T, SYS_M, DRV_C, "tty" }, + { TTY_PROC_NR, 0, SRV_F, 4, 1, 0, SRV_T, SYS_M, TTY_C, "tty" }, { MEM_PROC_NR, 0, SRV_F, 4, 2, 0, SRV_T, DRV_M, MEM_C, "memory"}, { LOG_PROC_NR, 0, SRV_F, 4, 2, 0, SRV_T, SYS_M, DRV_C, "log" }, { DRVR_PROC_NR, 0, SRV_F, 4, 2, 0, SRV_T, SYS_M, DRV_C, "driver"},