Modestus Moon OS
R4
CS 450 project
|
#include <system.h>
#include <string.h>
#include <core/serial.h>
#include <mem/heap.h>
#include <mem/paging.h>
Go to the source code of this file.
Functions | |
u32int | _kmalloc (u32int size, int page_align, u32int *phys_addr) |
u32int | kmalloc (u32int size) |
u32int | alloc (u32int size, heap *h, int align) |
heap * | make_heap (u32int base, u32int max, u32int min) |
Variables | |
heap * | kheap = 0 |
heap * | curr_heap = 0 |
page_dir * | kdir |
void * | end |
void | _end |
void | __end |
u32int | phys_alloc_addr = (u32int)&end |
Definition at line 24 of file heap.c.
References alloc(), page_entry::frameaddr, get_page(), and phys_alloc_addr.
Referenced by get_page(), init_paging(), and kmalloc().
Definition at line 57 of file heap.c.
References base, KHEAP_BASE, KHEAP_MIN, no_warn, and serial_println().
Referenced by _kmalloc().
Definition at line 52 of file heap.c.
References _kmalloc().
Referenced by init_paging(), initHeap(), make_heap(), and sys_alloc_mem().
Definition at line 71 of file heap.c.
References kmalloc(), and no_warn.
Referenced by init_paging().
void __end |
void _end |
void* end |
Definition at line 22 of file heap.c.
Referenced by _kmalloc(), and init_paging().