diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-25 23:02:51 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-25 23:02:51 +0100 |
| commit | 30d6ab8c6b40b2897fa3f49cce0302cc6c3a66e6 (patch) | |
| tree | 95c788be529e2617ebdddd41958b2362a8949c58 /usr/src | |
| parent | 035da8e4499b0ef3b0417b3bbf9bd82c566ea220 (diff) | |
| download | fbos-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>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/init.S | 5 |
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 . |
