aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-25 23:02:51 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-25 23:02:51 +0100
commit30d6ab8c6b40b2897fa3f49cce0302cc6c3a66e6 (patch)
tree95c788be529e2617ebdddd41958b2362a8949c58
parent035da8e4499b0ef3b0417b3bbf9bd82c566ea220 (diff)
downloadfbos-30d6ab8c6b40b2897fa3f49cce0302cc6c3a66e6.tar.gz
fbos-30d6ab8c6b40b2897fa3f49cce0302cc6c3a66e6.zip
usr: Simplify init.S
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à <mikisabate@gmail.com>
-rw-r--r--usr/src/init.S5
1 files changed, 1 insertions, 4 deletions
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 .