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
12
kernel/src/arch/x86_64/cpu.c
Normal file
12
kernel/src/arch/x86_64/cpu.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
#if defined (__x86_64__)
|
||||
|
||||
#include <arch/cpu.h>
|
||||
|
||||
void hcf() {
|
||||
asm ("cli");
|
||||
for (;;) {
|
||||
asm ("hlt");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue