Add the current OS source tree, build scripts, system image layout, and development notes covering DMA page allocation, e1000 bring-up, net API dispatch, and DHCP work in progress.
14 lines
286 B
C
14 lines
286 B
C
#ifndef UTSM_ARENA_H
|
|
#define UTSM_ARENA_H
|
|
|
|
#include <utsm/types.h>
|
|
|
|
void arena_init(void);
|
|
void *kmem_alloc(u64 size);
|
|
void *kmem_alloc_aligned(u64 size, u64 alignment);
|
|
void *kmem_alloc_page(u64 page_count);
|
|
u64 kmem_arena_virtual_base(void);
|
|
u64 kmem_arena_virtual_end(void);
|
|
|
|
#endif
|