From 39713a3736145483dd3310c3605f940ca34f05c3 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 12 Apr 2021 10:13:21 +0200 Subject: Refactoring --- src/core/paging.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/core/paging.h (limited to 'src/core/paging.h') diff --git a/src/core/paging.h b/src/core/paging.h new file mode 100644 index 0000000..1e8f4e3 --- /dev/null +++ b/src/core/paging.h @@ -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 \ No newline at end of file -- cgit v1.2.3