blob: 258591a9a3802c0cdb008697ad022d0a41965855 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef DEF_PHYSMEM_NS_H
#define DEF_PHYSMEM_NS_H
#include <MemoryManager/PageDirectory.class.h>
extern PageDirectory* kernelPageDirectory;
namespace PhysMem {
void initPaging(u32int mem_size);
void removeTemporaryPages();
void allocFrame(page_t *page, bool is_user, bool is_writable);
void freeFrame(page_t *page);
u32int free();
u32int total();
}
#endif
|