/* Check if the compiler thinks we are targeting the wrong operating system. */
#if defined(__linux__)
-#error "You are not using a cross-compiler, you will run into trouble"
+#warning "You are not using a cross-compiler, you may run into trouble"
#endif
/*
return sign * res;
}
-char* strcpy(char* dest, const char* src) {
- char* temp = dest;
- while ((*dest++ = *src++));
- return temp;
-}
-
void itoa_hex(uint32_t num, char* str) {
const char hex_chars[] = "0123456789ABCDEF";
str[0] = '0';
#include "heap.h"
#include "uart_console.h"
#include "pmm.h"
+#include "vmm.h"
#include "spinlock.h"
#include "hal/cpu.h"
#include <stddef.h>