blob: 1de801fbf941453dd233d7c84b3b9f5fc2c38691 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef MELVIX_MMAP
#define MELVIX_MMAP
#include <stdint.h>
void *kmalloc_frames(u32 num);
void kfree_frames(void *ptr, u32 num);
u8 mmap_check(u32 n);
void mmap_init(u32 size);
void mmap_init_finalize();
void mmap_address_set_free(u32 address);
void mmap_address_set_used(u32 address);
u8 mmap_index_check(u32 n);
void mmap_index_set_free(u32 n);
void mmap_index_set_used(u32 n);
#endif
|