forked from PoliEcho-holding-org/kern
Wrote physical memory manager
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
#ifndef _PMM_H
|
||||
#define _PMM_H
|
||||
|
||||
#include <bitmap.h>
|
||||
#include <kernel.h>
|
||||
|
||||
extern bitmap_t pmm_bitmap;
|
||||
|
||||
int pmm_init(void);
|
||||
size_t pmm_alloc(void);
|
||||
void pmm_free(size_t page);
|
||||
void* pmm_alloc(void);
|
||||
void pmm_free(void*);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user