/**
 * PROJECT:         ExectOS
 * COPYRIGHT:       See COPYING.md in the top level directory
 * FILE:            xtoskrnl/includes/mm/mmgr.hh
 * DESCRIPTION:     Memory manager
 * DEVELOPERS:      Aiken Harris <harraiken91@gmail.com>
 */

#ifndef __XTOSKRNL_MM_MMGR_HH
#define __XTOSKRNL_MM_MMGR_HH

#include <xtos.hh>


/* Memory Manager */
namespace MM
{
    class Manager
    {
        private:
            STATIC MMMEMORY_LAYOUT MemoryLayout;
            STATIC PFN_NUMBER NumberOfSystemPtes;

        public:
            STATIC XTAPI PMMMEMORY_LAYOUT GetMemoryLayout(VOID);
            STATIC XTAPI PFN_NUMBER GetNumberOfSystemPtes();
            STATIC XTAPI VOID InitializeMemoryLayout(VOID);
            STATIC XTAPI VOID InitializeMemoryManager(VOID);
            STATIC XTAPI BOOLEAN VerifyMemoryTypeFree(LOADER_MEMORY_TYPE MemoryType);
            STATIC XTAPI BOOLEAN VerifyMemoryTypeInvisible(LOADER_MEMORY_TYPE MemoryType);
       };
}

#endif /* __XTOSKRNL_MM_MMGR_HH */
