Introduce architecture-specific page map routines
Some checks failed
Builds / ExectOS (i686, release) (push) Failing after 23s
Builds / ExectOS (amd64, debug) (push) Successful in 27s
Builds / ExectOS (i686, debug) (push) Failing after 31s
Builds / ExectOS (amd64, release) (push) Successful in 33s

This commit is contained in:
2025-08-17 00:23:19 +02:00
parent 0ed59f223c
commit f77f2bbf92
9 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/mm/amd64/globals.c
* DESCRIPTION: AMD64-specific global variables for the Memory Manager
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#include <xtos.h>
/* Page mapping routines for systems using 4-level paging (PML4) */
CMMPAGEMAP_ROUTINES MmpPml4Routines = {
// .ClearPte = MmpClearPte,
// .PteValid = MmpPml2PteValid,
// .SetPteCaching = MmpSetPml2PteCaching,
// .SetPte = MmpSetPml2Pte,
};
/* Page mapping routines for systems using 5-level paging (PML5) */
CMMPAGEMAP_ROUTINES MmpPml5Routines = {
// .ClearPte = MmpClearPte,
// .PteValid = MmpPml3PteValid,
// .SetPteCaching = MmpSetPml3PteCaching,
// .SetPte = MmpSetPml3Pte,
};