Big code refactor, get rid of HAL entirely
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user