From 69fd0dd9fda47aa52cccdbef6ca388cea38e693b Mon Sep 17 00:00:00 2001
From: dzwdz
Date: Thu, 25 Jul 2024 22:17:27 +0200
Subject: kernel: pass more information to user on interrupt

This is meant to facilitate a syscall for returning from interrupts, which
will actually work in the general case as opposed to the current hack, which
only works if the interrupt occured during a syscall (which is correct... for
now).
---
 sysroot/bin/sh/halt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sysroot')

diff --git a/sysroot/bin/sh/halt b/sysroot/bin/sh/halt
index 7304155..d02109f 100644
--- a/sysroot/bin/sh/halt
+++ b/sysroot/bin/sh/halt
@@ -1,2 +1,2 @@
 #!/bin/shell
-echo "Die monster. You don't belong in this world!" > /proc/1/intr
+echo -n "Die monster. You don't belong in this world!" > /proc/1/intr
-- 
cgit v1.2.3