stos: hal: Add virtual address space helpers

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 21:46:51 +00:00
parent 53aea637b0
commit 532e46c62f
3 changed files with 93 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: MD virtual address space
* Author: Chloe M.
*/
#ifndef _MACHINE_VAS_H_
#define _MACHINE_VAS_H_ 1
#include <stdef.h>
/*
* Represents a virtual address space
*
* @Cr3: Control register 3 value
*/
typedef struct {
UPTR Cr3;
} MMU_VAS;
#endif /* !_MACHINE_VAS_H_ */