Files
exectos/xtoskrnl/includes/mm/kpool.hh
Aiken Harris 404595801d
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 24s
Builds / ExectOS (amd64, release) (push) Failing after 23s
Builds / ExectOS (i686, debug) (push) Failing after 22s
Builds / ExectOS (i686, release) (push) Failing after 21s
Migrate MM subsystem to C++
2025-09-15 22:15:07 +02:00

33 lines
1.0 KiB
C++

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/mm/hlpool.hh
* DESCRIPTION: Kernel pool memory management
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_MM_KPOOL_HH
#define __XTOSKRNL_MM_KPOOL_HH
#include <xtos.hh>
/* Memory Manager */
namespace MM
{
class KernelPool
{
public:
STATIC XTAPI XTSTATUS AllocateKernelStack(IN PVOID *Stack,
IN BOOLEAN LargeStack,
IN UCHAR SystemNode);
STATIC XTAPI XTSTATUS AllocateProcessorStructures(IN ULONG CpuNumber,
OUT PVOID *StructuresData);
STATIC XTAPI VOID FreeKernelStack(IN PVOID Stack,
IN BOOLEAN LargeStack);
STATIC XTAPI VOID FreeProcessorStructures(IN PVOID StructuresData);
};
}
#endif /* __XTOSKRNL_MM_KPOOL_HH */