mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 15:37:51 -04:00
Cleanup
This commit is contained in:
parent
880e411be2
commit
28dcfd23fc
@ -20,14 +20,6 @@ struct process_t;
|
|||||||
|
|
||||||
namespace paging {
|
namespace paging {
|
||||||
|
|
||||||
//TODO Probably some of it could be moved in the source file
|
|
||||||
|
|
||||||
typedef uint64_t* page_entry;
|
|
||||||
typedef page_entry* pt_t;
|
|
||||||
typedef pt_t* pd_t;
|
|
||||||
typedef pd_t* pdpt_t;
|
|
||||||
typedef pdpt_t* pml4t_t;
|
|
||||||
|
|
||||||
//The size of page in memory
|
//The size of page in memory
|
||||||
constexpr const size_t PAGE_SIZE = 4096;
|
constexpr const size_t PAGE_SIZE = 4096;
|
||||||
|
|
||||||
|
@ -21,7 +21,11 @@
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using namespace paging;
|
typedef uint64_t* page_entry;
|
||||||
|
typedef page_entry* pt_t;
|
||||||
|
typedef pt_t* pd_t;
|
||||||
|
typedef pd_t* pdpt_t;
|
||||||
|
typedef pdpt_t* pml4t_t;
|
||||||
|
|
||||||
//The physical offsets of the structures
|
//The physical offsets of the structures
|
||||||
size_t physical_pml4t_start;
|
size_t physical_pml4t_start;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user