Force includes to use absolute paths.
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
/// Change the header.
|
||||
#define __DEBUG_HEADER__ "[BUDDY ]"
|
||||
|
||||
#include "buddysystem.h"
|
||||
#include "paging.h"
|
||||
#include "mem/buddysystem.h"
|
||||
#include "mem/paging.h"
|
||||
#include "assert.h"
|
||||
#include "debug.h"
|
||||
#include "panic.h"
|
||||
#include "misc/debug.h"
|
||||
#include "system/panic.h"
|
||||
|
||||
/// @brief Cache level low limit after which allocation starts.
|
||||
#define LOW_WATERMARK_LEVEL 10
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
/// Change the header.
|
||||
#define __DEBUG_HEADER__ "[KHEAP ]"
|
||||
|
||||
#include "kheap.h"
|
||||
#include "mem/kheap.h"
|
||||
#include "math.h"
|
||||
#include "debug.h"
|
||||
#include "misc/debug.h"
|
||||
#include "string.h"
|
||||
#include "paging.h"
|
||||
#include "mem/paging.h"
|
||||
#include "assert.h"
|
||||
#include "list_head.h"
|
||||
#include "klib/list_head.h"
|
||||
|
||||
/// Overhead given by the block_t itself.
|
||||
#define OVERHEAD sizeof(block_t)
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
/// Change the header.
|
||||
#define __DEBUG_HEADER__ "[PAGING]"
|
||||
|
||||
#include "paging.h"
|
||||
#include "isr.h"
|
||||
#include "vmem_map.h"
|
||||
#include "zone_allocator.h"
|
||||
#include "kheap.h"
|
||||
#include "debug.h"
|
||||
#include "mem/paging.h"
|
||||
#include "descriptor_tables/isr.h"
|
||||
#include "mem/vmem_map.h"
|
||||
#include "mem/zone_allocator.h"
|
||||
#include "mem/kheap.h"
|
||||
#include "misc/debug.h"
|
||||
#include "assert.h"
|
||||
#include "string.h"
|
||||
#include "panic.h"
|
||||
#include "system/panic.h"
|
||||
|
||||
/// Cache for storing mm_struct.
|
||||
kmem_cache_t *mm_cache;
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
/// Change the header.
|
||||
#define __DEBUG_HEADER__ "[SLAB ]"
|
||||
|
||||
#include "zone_allocator.h"
|
||||
#include "paging.h"
|
||||
#include "mem/zone_allocator.h"
|
||||
#include "mem/paging.h"
|
||||
#include "assert.h"
|
||||
#include "debug.h"
|
||||
#include "slab.h"
|
||||
#include "misc/debug.h"
|
||||
#include "mem/slab.h"
|
||||
|
||||
/// @brief Use it to manage cached pages.
|
||||
typedef struct kmem_obj {
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
/// Change the header.
|
||||
#define __DEBUG_HEADER__ "[VMEM ]"
|
||||
|
||||
#include "vmem_map.h"
|
||||
#include "mem/vmem_map.h"
|
||||
#include "string.h"
|
||||
#include "panic.h"
|
||||
#include "system/panic.h"
|
||||
|
||||
/// Virtual addresses manager.
|
||||
static virt_map_page_manager_t virt_default_mapping;
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
/// Change the header.
|
||||
#define __DEBUG_HEADER__ "[PMM ]"
|
||||
|
||||
#include "zone_allocator.h"
|
||||
#include "buddysystem.h"
|
||||
#include "list_head.h"
|
||||
#include "mem/zone_allocator.h"
|
||||
#include "mem/buddysystem.h"
|
||||
#include "klib/list_head.h"
|
||||
#include "kernel.h"
|
||||
#include "assert.h"
|
||||
#include "paging.h"
|
||||
#include "mem/paging.h"
|
||||
#include "string.h"
|
||||
#include "debug.h"
|
||||
#include "misc/debug.h"
|
||||
|
||||
/// TODO: Comment.
|
||||
#define MIN_PAGE_ALIGN(addr) ((addr) & (~(PAGE_SIZE - 1)))
|
||||
|
||||
Reference in New Issue
Block a user