Refactoring
This commit is contained in:
parent
6edeba8fe2
commit
39713a3736
24 changed files with 187 additions and 128 deletions
13
src/core/paging.h
Normal file
13
src/core/paging.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue