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.
svn path=/trunk/; revision=12871
added ddc.c First try of implementing DDC functions (Untested)
modified dispatch.c Handle IRP_MJ_PNP:IRP_MN_START_DEVICE. Let AddDevice create the device object and call HwFindAdapter from IRP_MN_START_DEVICE.
modified int10.c Make VideoPortInt10 return ERROR_INVALID_PARAMETER when called while CSRSS is not initialized.
modified Makefile Add agp.o and ddc.o
modified resource.c Don't remember usermode mappings - they are valid only in the context of the process which they were created in. Add IntVideoPortMapPhysicalMemory() to map part of \Device\PhysicalMemory into UserMode. Make VideoPortGetAccessRanges use DeviceExtension->AllocatedResources (from the IRP_MJ_PNP:IRP_MN_START_DEVICE) if present.
modified services.c Implement VideoPortGetAgpServices. VideoPortQueryServices support for VideoPortServicesAGP.
modified videoprt.c Split IntVideoPortFindAdapter into IntVideoPortCreateAdapterDeviceObject and IntVideoPortFindAdapter. Basic implementation of VideoPortEnumerateChildren. Implement VideoPortAcquireDeviceLock/VideoPortReleaseDeviceLock.
modified videoprt.def Export VideoPortAcquireDeviceLock/VideoPortReleaseDeviceLock.
modified videoprt.h Various stuff.
svn path=/trunk/; revision=12860
Replace the radioactive icons with the newer ReactOS icon.
Files:
trunk/reactos/bootdata/icon.ico
trunk/reactos/lib/user32/resources/oic_reactos.ico
svn path=/trunk/; revision=12854
- Implemented an idle processor map.
- Fixed the initialisation of the first kernel stack for the application processors.
svn path=/trunk/; revision=12833
- tickcount.c: also accept arbitrary tick counts as arguments or from standard input (initially conceived to convert the result of subtracting two Date objects in Javascript - which conveniently happens to be a count of milliseconds - into a human-readable format. Useful to write a batch file that calculates the exact difference between two dates). Also use typedef aliases for __int64 that won't conflict with standard C typedefs
(I had a craving for C code, too much Java for school was melting my brain. Thanks god for good ol' tickcount)
svn path=/trunk/; revision=12831