kernel: Rewrite from scratch since the current thing is held by duct tape (lmao)
This commit is contained in:
parent
d017412af5
commit
a1e27c2730
117 changed files with 285 additions and 13622 deletions
11
kernel/src/arch/aarch64/cpu.c
Normal file
11
kernel/src/arch/aarch64/cpu.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
#if defined (__aarch64__)
|
||||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
void hcf() {
|
||||
for (;;) {
|
||||
asm ("wfi");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue