Refactoring

This commit is contained in:
Loic Guegan 2021-04-12 10:13:21 +02:00
parent 6edeba8fe2
commit 39713a3736
24 changed files with 187 additions and 128 deletions

13
src/core/paging.h Normal file
View file

@ -0,0 +1,13 @@
#ifndef PAGING_H
#define PAGING_H
#define PAGING_CR0_BIT 0x80000000
#define PAGING_DIR_LOCATION 0x1000
#define PAGING_TABLE_LOCATION 0x5000
/*
* Configure and enable paging
*/
void paging_enable();
#endif