1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-12-11 11:35:39 -05:00
kernel/arch/memory.h

15 lines
330 B
C
Raw Normal View History

2017-11-05 01:56:29 -05:00
#ifndef KERNELMQ_INCLUDED_MEMORY
#define KERNELMQ_INCLUDED_MEMORY 1
#include <kernelmq/info.h>
void memory_initialize(const struct KernelMQ_Info *kinfo);
2017-11-05 03:08:33 -05:00
2017-11-05 01:56:29 -05:00
unsigned long memory_alloc_page();
2017-11-05 03:49:02 -05:00
unsigned long memory_alloc_big_page();
2017-11-05 03:08:33 -05:00
void memory_free_page(unsigned long addr);
2017-11-05 03:49:02 -05:00
void memory_free_big_page(unsigned long addr);
2017-11-05 01:56:29 -05:00
#endif