Use ULONG_PTR instead of ULONG when doing pointer arithmetics.
authorCasper Hornstrup <chorns@users.sourceforge.net>
Mon, 13 May 2002 18:10:41 +0000 (18:10 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Mon, 13 May 2002 18:10:41 +0000 (18:10 +0000)
commitc804ca06be4e798903e8dff313d616a45dff093c
tree05b4804aa445b044698b335875cc700df56d8e73
parent5e4527aff75f4f7c1c22f0c25370a08c3c4da432
Use ULONG_PTR instead of ULONG when doing pointer arithmetics.
Use ULONG_PTR for physical adresses and PVOID for virtual addresses.
Added several consistency checks in the memory memory manager.

svn path=/trunk/; revision=2946
39 files changed:
reactos/lib/kernel32/mem/section.c
reactos/ntoskrnl/cc/view.c
reactos/ntoskrnl/cm/regobj.c
reactos/ntoskrnl/ex/work.c
reactos/ntoskrnl/include/internal/id.h
reactos/ntoskrnl/include/internal/ke.h
reactos/ntoskrnl/include/internal/mm.h
reactos/ntoskrnl/include/internal/ntoskrnl.h
reactos/ntoskrnl/include/internal/ps.h
reactos/ntoskrnl/kd/gdbstub.c
reactos/ntoskrnl/ke/bug.c
reactos/ntoskrnl/ke/i386/exp.c
reactos/ntoskrnl/ke/i386/kernel.c
reactos/ntoskrnl/ke/kthread.c
reactos/ntoskrnl/ke/timer.c
reactos/ntoskrnl/ke/wait.c
reactos/ntoskrnl/mm/aspace.c
reactos/ntoskrnl/mm/balance.c
reactos/ntoskrnl/mm/cont.c
reactos/ntoskrnl/mm/freelist.c
reactos/ntoskrnl/mm/i386/page.c
reactos/ntoskrnl/mm/kmap.c
reactos/ntoskrnl/mm/marea.c
reactos/ntoskrnl/mm/mdl.c
reactos/ntoskrnl/mm/mm.c
reactos/ntoskrnl/mm/mminit.c
reactos/ntoskrnl/mm/ncache.c
reactos/ntoskrnl/mm/npool.c
reactos/ntoskrnl/mm/pagefile.c
reactos/ntoskrnl/mm/pageop.c
reactos/ntoskrnl/mm/ppool.c
reactos/ntoskrnl/mm/rmap.c
reactos/ntoskrnl/mm/section.c
reactos/ntoskrnl/mm/slab.c
reactos/ntoskrnl/mm/virtual.c
reactos/ntoskrnl/mm/wset.c
reactos/ntoskrnl/ob/object.c
reactos/ntoskrnl/ps/thread.c
reactos/ntoskrnl/rtl/mem.c