Fixed silly compilation bug

svn path=/trunk/; revision=377
This commit is contained in:
David Welch 1999-04-14 02:31:11 +00:00
parent 0691de94b5
commit 600e81c60c
5 changed files with 5 additions and 9 deletions

View file

@ -36,7 +36,6 @@ BOOLEAN MmIsThisAnNtAsSystem(VOID);
* Size = Size of range
* RETURNS: The number of pages
*/
#if 0
extern inline unsigned int ADDRESS_AND_SIZE_TO_SPAN_PAGES(PVOID Va,
ULONG Size)
{
@ -47,7 +46,6 @@ extern inline unsigned int ADDRESS_AND_SIZE_TO_SPAN_PAGES(PVOID Va,
LowestAddr = PAGE_ROUND_DOWN((ULONG)Va);
return((HighestAddr - LowestAddr) / PAGESIZE);
}
#endif
/*
* FUNCTION: Returns FALSE is the pointer is NULL, TRUE otherwise

View file

@ -5,8 +5,6 @@
#ifndef __INTERNAL_HAL_I386_MMHAL_H
#define __INTERNAL_HAL_I386_MMHAL_H
#include <ddk/ntddk.h>
#define PAGESIZE (4096)
PULONG MmGetPageEntry(PVOID Address);

View file

@ -10,13 +10,13 @@
/* INCLUDES ***************************************************************/
#include <internal/mmhal.h>
#include <ddk/ntddk.h>
#include <internal/mm.h>
#include <internal/mmhal.h>
#include <string.h>
#include <internal/string.h>
#include <internal/bitops.h>
#include <internal/ex.h>
#include <ddk/ntddk.h>
#define NDEBUG
#include <internal/debug.h>

View file

@ -10,8 +10,8 @@
/* INCLUDES *****************************************************************/
#include <internal/mmhal.h>
#include <ddk/ntddk.h>
#include <internal/mmhal.h>
#include <internal/debug.h>

View file

@ -12,12 +12,12 @@
/* INCLUDES ****************************************************************/
#include <internal/stddef.h>
#include <internal/mmhal.h>
#include <ddk/ntddk.h>
#include <internal/mm.h>
#include <internal/mmhal.h>
#include <internal/ntoskrnl.h>
#include <internal/bitops.h>
#include <internal/i386/io.h>
#include <ddk/ntddk.h>
#define NDEBUG
#include <internal/debug.h>