From 58514d351e1f0e8871f534422cf025109ddbb844 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 26 Jul 2024 21:40:57 +0200 Subject: kernel: implement _sys_intr_return --- src/cmd/shell/shell.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cmd/shell/shell.c') diff --git a/src/cmd/shell/shell.c b/src/cmd/shell/shell.c index 15cb6ed..bdf36a9 100644 --- a/src/cmd/shell/shell.c +++ b/src/cmd/shell/shell.c @@ -141,6 +141,7 @@ static void run(char *cmd) { static void intr(struct intr_data *intr) { fprintf(stderr, "%s: got interrupt: %s\n", getprogname(), intr->msg); + _sys_intr_return(intr, 0); } int main(int argc, char **argv) { -- cgit v1.2.3