Big code refactor, get rid of HAL entirely

This commit is contained in:
2025-11-11 21:26:27 +01:00
parent 7015bc9576
commit 566b35f4d5
84 changed files with 477 additions and 520 deletions

View File

@ -1,15 +1,16 @@
// Config
#include <stddef.h>
#include "hal/hal.h"
#include "spinlock/spinlock.h"
#include "kprintf.h"
#include "bitmap/bitmap.h"
#include "util/util.h"
#include "pmm/pmm.h"
#include "malloc.h"
#include "dlmalloc/malloc.h"
#include "bootinfo/bootinfo.h"
#include "std/string.h"
#include "vmm/vmm.h"
#include "cpu/hang.h"
#include "kprintf.h"
#define USE_DL_PREFIX 1
#define LACKS_SYS_TYPES_H 1
@ -27,7 +28,7 @@
#define ABORT \
do { \
ERR("dlmalloc", "Aborting..."); \
hal_hang(); \
cpu_hang(); \
} while(0)
#define MALLOC_FAILURE_ACTION
#define HAVE_MORECORE 1