ptos: hal: Add machine specific page information

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-10 18:05:08 -04:00
parent 128060dca0
commit 050221a0de
2 changed files with 31 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: AMD64 page information
* Author: Chloe M.
*/
#ifndef _MACHINE_PAGE_H_
#define _MACHINE_PAGE_H_ 1
/* Page information */
#define PAGESIZE 4096
#define LOG2_PAGESIZE 12
#endif /* !_MACHINE_PAGE_H_ */
+15
View File
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: HAL page info bridge
* Author: Chloe M.
*/
#ifndef _HAL_PAGE_H_
#define _HAL_PAGE_H_ 1
/* Page information */
#include <machine/page.h>
#endif /* !_HAL_PAGE_H_ */