ptos: hal: Add machine specific page information
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -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_ */
|
||||||
@@ -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_ */
|
||||||
Reference in New Issue
Block a user