feat: reformatted code base to be more standard

This commit is contained in:
2021-03-10 22:01:13 +01:00
parent dc4bf71b5a
commit 586b8191b4
81 changed files with 431 additions and 338 deletions

View File

@@ -2,12 +2,11 @@
// Created by rick on 02-02-21.
//
#include <stdbool.h>
#include <libk/kprint.h>
#include <attributes.h>
#include <libk/libk.h>
#include <myke/libk/kprint.h>
#include <myke/attributes.h>
#include <myke/libk/libk.h>
bool k_addr_in_kspace(void* addr) {
bool k_addr_in_kspace(void *addr) {
return addr > kernel_start && addr < kernel_end;
}
@@ -23,7 +22,7 @@ void noreturn k_panics(const char *msg) {
void noreturn k_panic() {
kprint_sync("PANIC!");
while (true) {
while (1) {
__asm__ __volatile__("cli;"
"hlt;");
}