From 30d6ab8c6b40b2897fa3f49cce0302cc6c3a66e6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 25 Nov 2024 23:02:51 +0100 Subject: usr: Simplify init.S MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There appears to be no reasonable way to call 'wfi' from user space and making kernel space look the other way. Moreover, it also looks like clearing TW is not working either. Hence, we will have to implement 'idle' entirely from kernel space and be reasonable about it. Signed-off-by: Miquel Sabaté Solà --- usr/src/init.S | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr') diff --git a/usr/src/init.S b/usr/src/init.S index 6566f20..6915ea8 100644 --- a/usr/src/init.S +++ b/usr/src/init.S @@ -2,7 +2,4 @@ .text _start: -.Loop: - // TODO - // wfi - j .Loop + j . -- cgit v1.2.3