15 lines
258 B
C
15 lines
258 B
C
![]() |
#ifndef __PHYSMEM_H__
|
||
|
#define __PHYSMEM_H__
|
||
![]() |
|
||
|
#include "types.h"
|
||
|
|
||
![]() |
#define PHYSMEM_PAGE_SIZE 4096
|
||
![]() |
|
||
|
void physmem_init(u64 MemorySize);
|
||
|
u64 physmem_allocate_page(void);
|
||
|
|
||
|
u64 physmem_page_to_physical(u64 Page);
|
||
|
u64 physmem_physical_to_page(u64 Physical);
|
||
![]() |
|
||
|
#endif
|