Author: tkreuzer
Date: Tue Oct 13 01:29:14 2009
New Revision: 43428
URL:
http://svn.reactos.org/svn/reactos?rev=43428&view=rev
Log:
ARM3 64bit portability fixes.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/contmem.c
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/iosup.c
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/mdlsup.c
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/ncache.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/contmem.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/contmem.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/contmem.c [iso-8859-1] Tue Oct 13
01:29:14 2009
@@ -428,7 +428,7 @@
VOID
NTAPI
MmFreeContiguousMemorySpecifyCache(IN PVOID BaseAddress,
- IN ULONG NumberOfBytes,
+ IN SIZE_T NumberOfBytes,
IN MEMORY_CACHING_TYPE CacheType)
{
//
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/iosup.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/iosup.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/iosup.c [iso-8859-1] Tue Oct 13
01:29:14 2009
@@ -180,7 +180,7 @@
VOID
NTAPI
MmUnmapIoSpace(IN PVOID BaseAddress,
- IN ULONG NumberOfBytes)
+ IN SIZE_T NumberOfBytes)
{
PFN_NUMBER PageCount, Pfn;
PMMPTE PointerPte;
@@ -229,7 +229,7 @@
PVOID
NTAPI
MmMapVideoDisplay(IN PHYSICAL_ADDRESS PhysicalAddress,
- IN ULONG NumberOfBytes,
+ IN SIZE_T NumberOfBytes,
IN MEMORY_CACHING_TYPE CacheType)
{
PAGED_CODE();
@@ -246,7 +246,7 @@
VOID
NTAPI
MmUnmapVideoDisplay(IN PVOID BaseAddress,
- IN ULONG NumberOfBytes)
+ IN SIZE_T NumberOfBytes)
{
//
// Call the real function
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/mdlsup.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/mdlsup.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/mdlsup.c [iso-8859-1] Tue Oct 13
01:29:14 2009
@@ -25,9 +25,9 @@
NTAPI
MmCreateMdl(IN PMDL Mdl,
IN PVOID Base,
- IN ULONG Length)
-{
- ULONG Size;
+ IN SIZE_T Length)
+{
+ SIZE_T Size;
//
// Check if we don't have an MDL built
@@ -52,10 +52,10 @@
/*
* @implemented
*/
-ULONG
+SIZE_T
NTAPI
MmSizeOfMdl(IN PVOID Base,
- IN ULONG Length)
+ IN SIZE_T Length)
{
//
// Return the MDL size
@@ -566,7 +566,7 @@
IN KPROCESSOR_MODE AccessMode,
IN LOCK_OPERATION Operation)
{
- PPFN_TYPE MdlPages;
+ PPFN_NUMBER MdlPages;
PVOID Base, Address, LastAddress, StartAddress;
ULONG LockPages, TotalPages;
NTSTATUS Status = STATUS_SUCCESS;
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/ncache.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/ncache.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/ARM3/ncache.c [iso-8859-1] Tue Oct 13
01:29:14 2009
@@ -172,7 +172,7 @@
VOID
NTAPI
MmFreeNonCachedMemory(IN PVOID BaseAddress,
- IN ULONG NumberOfBytes)
+ IN SIZE_T NumberOfBytes)
{
PMDL Mdl;
PMMPTE PointerPte;