ptos/amd64+hal: Define the virtual address space

Signed-off-by: Chloe M <chloe@yiffware.org>
This commit is contained in:
2026-07-10 20:31:16 -04:00
parent c8e6cfe697
commit c29d8f1964
2 changed files with 41 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: AMD64 virtual address space
* Author: Chloe M.
*/
#ifndef _MACHINE_VAS_H_
#define _MACHINE_VAS_H_ 1
#include <ptdef.h>
/*
* Virtual address space for AMD64 processors
*
* @Cr3: Control register 3 value
*/
typedef struct {
UQUAD Cr3;
} MMU_VAS;
#endif /* !_MACHINE_VAS_H_ */