Remove dead code from paging and PTE management
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 20s
Builds / ExectOS (amd64, release) (push) Failing after 26s
Builds / ExectOS (i686, debug) (push) Successful in 25s
Builds / ExectOS (i686, release) (push) Successful in 31s

This commit is contained in:
2026-01-03 23:27:24 +01:00
parent 5e5b4a8392
commit 455349f2d7
14 changed files with 0 additions and 125 deletions

View File

@@ -9,21 +9,6 @@
#include <xtos.hh>
/**
* Gets the value representing an empty PTE list.
*
* @return This routine returns the value representing an empty PTE list.
*
* @since XT 1.0
*/
XTAPI
ULONG
MM::PageMap::GetEmptyPteList(VOID)
{
/* Return empty PTE list mask */
return PageMapInfo.EmptyPteList;
}
/**
* Gets the address of the PDE (Page Directory Entry), that maps given address.
*
@@ -340,21 +325,6 @@ MM::PageMapBasic::GetPteDistance(PMMPTE EndPte,
return ((ULONG_PTR)EndPte - (ULONG_PTR)StartPte) / sizeof(MMPML2_PTE);
}
/**
* Gets the terminator value for a PTE list (PML2).
*
* @return This routine returns the terminator value for a PTE list.
*
* @since XT 1.0
*/
XTAPI
ULONG_PTR
MM::PageMapBasic::GetPteListTerminator(VOID)
{
/* Return PTE list terminator value for PML2 */
return 0xFFFFF;
}
/**
* Gets the size of a PTE for basic paging (PML2).
*
@@ -456,9 +426,6 @@ MM::PageMapBasic::InitializePageMapInfo(VOID)
/* Set PML2 page map information */
PageMapInfo.Xpa = FALSE;
/* Set PML2 empty PTE list mask */
PageMapInfo.EmptyPteList = (ULONG)0xFFFFF;
/* Set PML2 base addresses */
PageMapInfo.PteBase = MM_PTE_BASE;
PageMapInfo.PdeBase = MM_PDE_LEGACY_BASE;
@@ -828,21 +795,6 @@ MM::PageMapXpa::GetPteDistance(PMMPTE EndPte,
return ((ULONG_PTR)EndPte - (ULONG_PTR)StartPte) / sizeof(MMPML3_PTE);
}
/**
* Gets the terminator value for a PTE list (PML3).
*
* @return This routine returns the terminator value for a PTE list.
*
* @since XT 1.0
*/
XTAPI
ULONG_PTR
MM::PageMapXpa::GetPteListTerminator(VOID)
{
/* Return PTE list terminator value for PML3 */
return 0xFFFFFFFF;
}
/**
* Gets the size of a PTE for XPA paging (PML3).
*
@@ -944,9 +896,6 @@ MM::PageMapXpa::InitializePageMapInfo(VOID)
/* Set PML3 page map information */
PageMapInfo.Xpa = TRUE;
/* Set PML3 empty PTE list mask */
PageMapInfo.EmptyPteList = (ULONG)0xFFFFFFFF;
/* Set PML3 base addresses */
PageMapInfo.PteBase = MM_PTE_BASE;
PageMapInfo.PdeBase = MM_PDE_BASE;