[ros-svn] [blight] 12871: modified include/ntos/zwtypes.h Add SYSTEM_BATTERY_STATE from w32api.

blight at svn.reactos.com blight at svn.reactos.com
Fri Jan 7 17:10:51 CET 2005


modified   include/ntos/zwtypes.h           Add SYSTEM_BATTERY_STATE from w32api.
modified   ntoskrnl/include/internal/mm.h   Add MmAllocPagesSpecifyRange (internal function)
modified   ntoskrnl/mm/freelist.c           Add MmAllocPagesSpecifyRange function (used by MmAllocatePagesForMdl)
modified   ntoskrnl/mm/mdl.c                Implemenet MmAllocatePagesForMdl, MmFreePagesFromMdl. Turn MmMapLockedPages into MmMapLockedPagesSpecifyCache (and make MmMapLockedPages a wrapper to it).
modified   ntoskrnl/po/power.c              Implement SystemBatteryState in NtPowerInformation (Thanks to Alex for testing the returned values on his windows desktop PC)

Windows 2000 NVIDIA driver should work now.


Updated files:
trunk/reactos/include/ntos/zwtypes.h
trunk/reactos/ntoskrnl/include/internal/mm.h
trunk/reactos/ntoskrnl/mm/freelist.c
trunk/reactos/ntoskrnl/mm/mdl.c
trunk/reactos/ntoskrnl/po/power.c




More information about the Ros-svn mailing list