stos: pmm: Add pageframe descriptor population

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 06:33:14 +00:00
parent 52d98c3615
commit ef0588512c
3 changed files with 144 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: Page-related definitions
* Author: Chloe M.
*/
#ifndef _MACHINE_PAGE_H_
#define _MACHINE_PAGE_H_ 1
#define PAGESIZE 4096
#define LOG2_PAGESIZE 12
#endif /* !_MACHINE_PAGE_H_ */
+14
View File
@@ -0,0 +1,14 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: Page-related definitions
* Author: Chloe M.
*/
#ifndef _HAL_PAGE_H_
#define _HAL_PAGE_H_ 1
#include <machine/page.h>
#endif /* !_HAL_PAGE_H_ */