Add missing headers containing forward references of MM routines
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-02-20 22:22:32 +01:00
parent d427ca20fb
commit c8428241dd
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
4 changed files with 68 additions and 0 deletions

20
sdk/xtdk/amd64/mmfuncs.h Normal file
View File

@ -0,0 +1,20 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/amd64/mmfuncs.h
* DESCRIPTION: Memory manager routines specific to AMD64 architecture
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_AMD64_MMFUNCS_H
#define __XTDK_AMD64_MMFUNCS_H
#include <xtbase.h>
XTFASTCALL
VOID
MmZeroPages(IN PVOID Address,
IN ULONG Size);
#endif /* __XTDK_AMD64_MMFUNCS_H */

20
sdk/xtdk/i686/mmfuncs.h Normal file
View File

@ -0,0 +1,20 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/i686/mmfuncs.h
* DESCRIPTION: Memory manager routines specific to i686 architecture
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_I686_MMFUNCS_H
#define __XTDK_I686_MMFUNCS_H
#include <xtbase.h>
XTFASTCALL
VOID
MmZeroPages(IN PVOID Address,
IN ULONG Size);
#endif /* __XTDK_I686_MMFUNCS_H */

26
sdk/xtdk/mmfuncs.h Normal file
View File

@ -0,0 +1,26 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/mmfuncs.h
* DESCRIPTION: Memory manager routines
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_MMFUNCS_H
#define __XTDK_MMFUNCS_H
#include <xtbase.h>
XTAPI
XTSTATUS
MmAllocateKernelStack(IN PVOID *Stack,
IN BOOLEAN LargeStack,
IN UCHAR SystemNode);
XTAPI
VOID
MmFreeKernelStack(IN PVOID Stack,
IN BOOLEAN LargeStack);
#endif /* __XTDK_MMFUNCS_H */

View File

@ -42,9 +42,11 @@
/* XT routines */
#include <hlfuncs.h>
#include <kefuncs.h>
#include <mmfuncs.h>
#include <rtlfuncs.h>
/* Architecture specific XT routines*/
#include ARCH_HEADER(arfuncs.h)
#include ARCH_HEADER(hlfuncs.h)
#include ARCH_HEADER(mmfuncs.h)
#include ARCH_HEADER(rtlfuncs.h)