stos: pmm: Add pageframe descriptor population
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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_ */
|
||||
@@ -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_ */
|
||||
Reference in New Issue
Block a user