From 7f6b234625a53d2ceb9ec80dc0172aac1cedb358 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 22 Nov 2024 23:00:46 +0100 Subject: Enable exception handling from user mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows us to actually catch system calls and start to run user space programs. That being said, the whole thing is still pretty brittle, and the scheduler is not quite there yet. Signed-off-by: Miquel Sabaté Solà --- usr/src/buzz.S | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/src/buzz.S') diff --git a/usr/src/buzz.S b/usr/src/buzz.S index d5f83c5..d4d9a4b 100644 --- a/usr/src/buzz.S +++ b/usr/src/buzz.S @@ -4,6 +4,7 @@ _start: li a7, 1 la a0, buzz + li a1, 5 ecall .Loop: j .Loop -- cgit v1.2.3