Implement MmpGetPdeAddress() and MmpGetPteAddress() routines for i686 architecture as well as MmpMemoryExtensionEnabled() for checking PAE/LA57 support

This commit is contained in:
2024-05-22 22:47:28 +02:00
parent 4db5425238
commit 609538b9be
10 changed files with 154 additions and 3 deletions

View File

@@ -9,6 +9,21 @@
#include <xtos.h>
/**
* Performs an early pre-initialization of hardware-related structures.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTAPI
VOID
MmInitializeHardware(VOID)
{
/* Check for architecture-specific memory extensions enabled by the firmware or boot loader */
MmpMemoryExtension = MmpMemoryExtensionEnabled();
}
/**
* Performs an early initialization of the XTOS Memory Manager.
*