reactos.git
12 years ago[RTL]
Eric Kohl [Sat, 25 Feb 2012 15:20:32 +0000 (15:20 +0000)]
[RTL]
Formatting, no code changes.

svn path=/trunk/; revision=55854

12 years ago[USBEHCI]
Cameron Gutman [Sat, 25 Feb 2012 06:23:12 +0000 (06:23 +0000)]
[USBEHCI]
- Create a macro for properly checking for low speed devices
- Check again for a low speed device after the EHCI reset completes
- Don't ignore status changes on ports that we have released (revert part of r55851)

svn path=/trunk/; revision=55853

12 years ago[USBHUB]
Cameron Gutman [Sat, 25 Feb 2012 05:46:19 +0000 (05:46 +0000)]
[USBHUB]
- Fix reset event handling in cases where reset does not end up in a new device created
- My MacBook Pro completes USB initialization free of hangs now (usbstor disabled)

svn path=/trunk/; revision=55852

12 years ago[USBHUB]
Cameron Gutman [Sat, 25 Feb 2012 04:45:30 +0000 (04:45 +0000)]
[USBHUB]
- Handle errors returned from the HCD correctly
[USBEHCI]
- Discard any changes on ports that were given to the companion controller

svn path=/trunk/; revision=55851

12 years ago[USBEHCI]
Cameron Gutman [Sat, 25 Feb 2012 04:27:39 +0000 (04:27 +0000)]
[USBEHCI]
- More EHCI reset fixes and general code cleanup

svn path=/trunk/; revision=55850

12 years ago[USBEHCI]
Johannes Anderwald [Sat, 25 Feb 2012 03:28:17 +0000 (03:28 +0000)]
[USBEHCI]
- Fix reset port sequence #2
- Clear unwanted bits
- Fix wait time as in spec
- Wait max 500ms for the reset bit to clear, otherwise restart the reset sequence
- Check if work item is currently queued

svn path=/trunk/; revision=55849

12 years ago[USBOHCI]
Cameron Gutman [Sat, 25 Feb 2012 02:20:15 +0000 (02:20 +0000)]
[USBOHCI]
- Implement per-port power control

svn path=/trunk/; revision=55848

12 years ago[USBCCGP]
Johannes Anderwald [Sat, 25 Feb 2012 00:35:40 +0000 (00:35 +0000)]
[USBCCGP]
- Formatting, no code changes

svn path=/trunk/; revision=55847

12 years ago[INF]
Cameron Gutman [Sat, 25 Feb 2012 00:34:48 +0000 (00:34 +0000)]
[INF]
- Fix the Live CD regression (RBuild only - The irony is not lost on me) caused by r55555
- There is another regression that still prevents booting though

svn path=/trunk/; revision=55846

12 years ago[USBOHCI]
Cameron Gutman [Fri, 24 Feb 2012 23:14:19 +0000 (23:14 +0000)]
[USBOHCI]
- Fix a broken assertion and print out the alignment mask and HCCA pointer

svn path=/trunk/; revision=55845

12 years ago[USBOHCI]
Cameron Gutman [Fri, 24 Feb 2012 23:05:22 +0000 (23:05 +0000)]
[USBOHCI]
- Fix various initialization bugs

svn path=/trunk/; revision=55844

12 years ago[USBUHCI]
Johannes Anderwald [Fri, 24 Feb 2012 17:58:55 +0000 (17:58 +0000)]
[USBUHCI]
- Invert data toggle

svn path=/trunk/; revision=55843

12 years ago[win32k]
Giannis Adamopoulos [Fri, 24 Feb 2012 15:32:13 +0000 (15:32 +0000)]
[win32k]
-remove unrelated and unused information from the WINSTATION_OBJECT

svn path=/trunk/; revision=55842

12 years ago[win32k]
Giannis Adamopoulos [Fri, 24 Feb 2012 15:22:11 +0000 (15:22 +0000)]
[win32k]
- Properly create the WindowStations directory in NtUserInitialize. Now we take into account the fact that if we are not in session 0, it should be created in \Sessions direcory
- Clean up IntParseDesktopPath and make it use the correct WindowStations
- Add some comments and cleanup
- Remove the unused IntGetFullWindowStationName, IntGetWindowStationObject and IntGetWinStaObj

svn path=/trunk/; revision=55841

12 years ago[NTOSKRNL]
Stefan Ginsberg [Fri, 24 Feb 2012 13:51:52 +0000 (13:51 +0000)]
[NTOSKRNL]
- Remove nasty hack to make Windows PCI driver load. This may not be required after the fixes that were committed after this hack. If it is still necessary then please fix whatever issue makes the PCI driver crash instead of relying on a return from bugcheck call to work...

[DDK]
- Mark KeBugCheckEx as noreturn again. Should fix Prefast issues where it thought execution could return from the call and would warn about false issues.

svn path=/trunk/; revision=55840

12 years ago[NEWCC]
Art Yerkes [Fri, 24 Feb 2012 11:33:23 +0000 (11:33 +0000)]
[NEWCC]
Integrate september's speed improvements, which now work.
Remove the flush hack when unpinning cache segments.

svn path=/trunk/; revision=55839

12 years agoUpdate for rapps
Daniel Reimer [Fri, 24 Feb 2012 10:33:06 +0000 (10:33 +0000)]
Update for rapps

svn path=/trunk/; revision=55838

12 years ago[NEWCC]
Art Yerkes [Fri, 24 Feb 2012 10:05:06 +0000 (10:05 +0000)]
[NEWCC]
Update used page table entry counts when mapping pages in cache sections.

svn path=/trunk/; revision=55837

12 years ago[USBOHCI]
Cameron Gutman [Fri, 24 Feb 2012 07:26:43 +0000 (07:26 +0000)]
[USBOHCI]
- Try to fix some real hardware OHCI initialization hangs

svn path=/trunk/; revision=55836

12 years ago[FREELDR][NTOSKRNL]
Dmitry Gorbachev [Thu, 23 Feb 2012 18:59:24 +0000 (18:59 +0000)]
[FREELDR][NTOSKRNL]
Update linker scripts.

svn path=/trunk/; revision=55835

12 years ago[CMAKE]
Stefan Ginsberg [Thu, 23 Feb 2012 13:06:11 +0000 (13:06 +0000)]
[CMAKE]
- Specify C4700 (uninitialized variable usage) to cause an error on compile as this is very likely to result in broken code.
[NTDLL]
- Disable ASSERT in LdrpSearchPath that could be reading an uninitialized variable. The routine is not fully implemented so this should likely be re-enabled once it is.
[BROWSEUI]
- Add missing call to BuildRebarBandInfo, or we would end up with an unitialized variable sent to SendMessage.
[PCIX]
- Fix broken ASSERT
- Fix usage of wrong (and uninitialized) variable in the Unicode case for PciGetDescriptionMessage.
[DDK]
- Prepend "_" to local variable of NdisChainBufferAtBack. Fixes code in ndisuio that called this using the same name as the macro's variable (which resulted in NdisChainBufferAtBack assigning the variable to itself).
[WIN32K]
- Fix WinPosShowIconTitle that checked if a variable was NULL before assigning it to anything.

svn path=/trunk/; revision=55834

12 years ago[NEWCC]
Amine Khaldi [Thu, 23 Feb 2012 12:03:06 +0000 (12:03 +0000)]
[NEWCC]
A reintegration checkpoint for the NewCC branch, brought to you by Team NewCC.

Differences with current ReactOS trunk:

* A new memory area type, MEMORY_AREA_CACHE, is added, which represents a mapped region of a file. In NEWCC mode, user sections are MEMORY_AREA_CACHE type as well, and obey new semantics. In non-NEWCC mode, they aren't used.
* A way of claiming a page entry for a specific thread's work is added. Placing the special SWAPENTRY value MM_WAIT_ENTRY in a page table, or in a section page table should indicate that memory management code is intended to wait for another thread to make some status change before checking the state of the page entry again. In code that uses this convention, a return value of STATUS_SUCCESS + 1 is used to indicate that the caller should use the MiWaitForPageEvent macro to wait until somebody has change the state of a wait entry before checking again. This is a lighter weight mechanism than PAGEOPs.
* A way of asking the caller to perform some blocking operation without locks held is provided. This replaces some spaghettified code in which locks are repeatedly taken and broken by code that performs various blocking operations. Using this mechanism, it is possible to do a small amount of non-blocking work, fill in a request, then return STATUS_MORE_PROCESSING_REQUIRED to request that locks be dropped and the blocking operation be carried out. A MM_REQUIRED_RESOURCES structure is provided to consumers of this contract to use to accumulate state across many blocking operations. Several functions wrapping blocking operations are provided in ntoskrnl/cache/reqtools.c.
* Image section pages are no longer direct mapped. This is done to simplify consolidation of ownership of pages under the data section system. At a later time, it may be possible to make data pages directly available to image sections for the same file. This is likely the only direct performance impact this code makes on non-NEWCC mode.

RMAPs:

* A new type of RMAP entry is introduced, distinguished by RMAP_IS_SEGMENT(Address) of the rmap entry. This kind of entry contains a pointer to a section page table node in the Process pointer, which in turn links back to the MM_SECTION_SEGMENT it belongs to. Therefore, a page belonging only to a segment (that is, a segment page that isn't mapped) can exist and be evicted using the normal page eviction mechanism in balance.c. Each of the rmap function has been modified to deal with segment rmaps.
* The low 8 bits of the Address field in a segment rmap denote the entry number in the generic table node pointed to by Process that points to the page the rmap belongs to. By combining them, you can determine the file offset the page belongs to.
* In NEWCC mode, MmSharePageEntry/UnsharePageEntry are not used, and instead the page reference count is used to keep track of the number of mappings of a page, allowing the last reference expiring to allow the page to be recycled without much intervention. These are still used in non-NEWCC mode. One change has been made, the count fields have been narrowed by 1 bit to make room for a dirty bit in SSE entries, needed when a page is present but unmapped.

Section page tables:

* The section page tables are now implemented using RtlGenericTables. This enables a fairly compact representation of section page tables without having the existence of a section object imply 4k of fake PDEs. In addition, each node in the generic table has a wide file offset that is a multiple of 256 pages, or 1 megabyte total. Besides needing wide file offsets, the only other visible change caused by the switch to generic tables for section page tables is the need to lock the section segment before interacting with the section page table.

Eviction:

* Page eviction in cache sections is accomplished by MmpPageOutPhysicalAddress. In the case of a shared page, it tries to remove all mappings of the indicated page. If this process fails at any point, the page will simply be drawn back into the target address spaces. After succeeding at this, if TRUE has been accumulated into the page's dirty bit in the section page table, it is written back, and then permanently removed.

NewCC mode:

* NEWCC mode is introduced, which rewrites the file cache to a set of cache stripes actively mapped, along with unmapped section data.
* NewCC is more authentic in its interpretation of the external interface to the windows cache than the current cache manager, implementing each of the cache manager functions according to the documented interface with no preconceived ideas about how anything should be implemented internally. Cache stripes are implemented on top of section objects, using the same memory manager paths, and therefore economizing code and complexity. This replaces a rather complicated system in which pages can be owned by the cache manager and the memory manager simultaneously and they must cooperate in a fairly sophisticated way to manage them. Since they're quite interdependent in the current code, modifying either is very difficult. In NEWCC, they have a clear division of labor and thus can be worked on independently.
* Several third party filesystems that use the kernel Cc interface work properly using NEWCC, including matt wu's ext3 driver.
* In contrast with code that tries to make CcInitializeCacheMap and CcUninitializeCacheMap into a pair that supports reference counting, NEWCC lazily initializes the shared and private cache maps as needed and uses the presence of a PrivateCacheMap on at least one file pointing to the SharedCacheMap as an indication that the FILE_OBJECT reference in the SharedCacheMap should still be held. When the last PrivateCacheMap is discarded, that's the appropriate time to tear down caching for a specific file, as the SharedCacheMap data is allowed to be saved and reused. We honor this by making the SharedCacheMap into a depot for keeping track of the PrivateCacheMap objects associated with views of a file.

svn path=/trunk/; revision=55833

12 years ago[USBUHCI]
Cameron Gutman [Thu, 23 Feb 2012 05:27:24 +0000 (05:27 +0000)]
[USBUHCI]
- Delay for the correct amount of time when performing a global reset and a port reset
- Loosen the loop timings a bit to allow for more time for real hardware to complete start/stop/reset
- Clear only the change bits that were set and handle both bits in the either case
- Perform a synchronous callback when the reset completes

svn path=/trunk/; revision=55832

12 years ago[USBUHCI]
Johannes Anderwald [Thu, 23 Feb 2012 05:07:07 +0000 (05:07 +0000)]
[USBUHCI]
- Remove left-over assert
- Remove dead code
- Enable port after reset

svn path=/trunk/; revision=55831

12 years ago[USBUHCI]
Johannes Anderwald [Thu, 23 Feb 2012 03:22:57 +0000 (03:22 +0000)]
[USBUHCI]
- Fix initialization bugs in real hardware

svn path=/trunk/; revision=55830

12 years ago[HIDCLASS] [USBUHCI]
Johannes Anderwald [Thu, 23 Feb 2012 01:51:55 +0000 (01:51 +0000)]
[HIDCLASS] [USBUHCI]
- Silence traces

svn path=/trunk/; revision=55829

12 years ago[USBUHCI]
Johannes Anderwald [Thu, 23 Feb 2012 01:27:19 +0000 (01:27 +0000)]
[USBUHCI]
- OHCI -> UHCI
- Implement timer routine which checks for new detected devices. In case a port change is detected, the sce callback routine is invoked

svn path=/trunk/; revision=55828

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 23 Feb 2012 01:23:30 +0000 (01:23 +0000)]
[NTOSKRNL]
- Reenable and fix the correct reset code
[HIDCLASS]
- Disable removal of PDOs due to IRP cancellation issues
[USBEHCI][USBOHCI][USBUHCI]
- Disable removal of FDOs due to reinitialization issues

svn path=/trunk/; revision=55827

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 23 Feb 2012 00:41:50 +0000 (00:41 +0000)]
[NTOSKRNL]
- Fix device node flag corruption

svn path=/trunk/; revision=55826

12 years ago[USBCCGP]
Johannes Anderwald [Thu, 23 Feb 2012 00:37:41 +0000 (00:37 +0000)]
[USBCCGP]
- Print interface details when dumping the function descriptor
- Fix bug USBCCG_AppendInterfaceNumber, which is not yet used

svn path=/trunk/; revision=55825

12 years ago[HIDPARSE]
Johannes Anderwald [Thu, 23 Feb 2012 00:35:46 +0000 (00:35 +0000)]
[HIDPARSE]
- Fix several wrong translated scan codes

svn path=/trunk/; revision=55824

12 years ago[HIDCLASS]
Johannes Anderwald [Thu, 23 Feb 2012 00:34:36 +0000 (00:34 +0000)]
[HIDCLASS]
- Silence traces
- Signal event when last pending transfer is done
- Reject new transfers when stop is in progress

svn path=/trunk/; revision=55823

12 years ago[USBUHCI]
Cameron Gutman [Wed, 22 Feb 2012 23:35:11 +0000 (23:35 +0000)]
[USBUHCI]
- Add rbuild file and enable build

svn path=/trunk/; revision=55821

12 years ago[USBUHCI]
Johannes Anderwald [Wed, 22 Feb 2012 23:24:53 +0000 (23:24 +0000)]
[USBUHCI]
- Silence traces
- Implement abort pipe
- Implement support for interrupt transfers

svn path=/trunk/; revision=55820

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 22 Feb 2012 23:08:52 +0000 (23:08 +0000)]
[NTOSKRNL]
- Add back the reset hack of doom to circumvent broken removal code in just about every driver

svn path=/trunk/; revision=55819

12 years ago[USBCCGP]
Johannes Anderwald [Wed, 22 Feb 2012 21:26:36 +0000 (21:26 +0000)]
[USBCCGP]
- Fix retrieving string descriptors

svn path=/trunk/; revision=55818

12 years ago[MEDIA/INF]
Sylvain Petreolle [Wed, 22 Feb 2012 21:25:47 +0000 (21:25 +0000)]
[MEDIA/INF]
Fix line endings.

svn path=/trunk/; revision=55817

12 years agoMissed this one...
Stefan Ginsberg [Wed, 22 Feb 2012 21:22:13 +0000 (21:22 +0000)]
Missed this one...

svn path=/trunk/; revision=55816

12 years ago[NTOSKRNL]
Stefan Ginsberg [Wed, 22 Feb 2012 21:18:56 +0000 (21:18 +0000)]
[NTOSKRNL]
Some misc fixes to make kernel compile warning-free with /W3. Also fix a bug that completely broke the ProcessWx86Information case for NtQueryInformationProcess by missing to reference/dereference and acquiring the specified process' EPROCESS.

svn path=/trunk/; revision=55815

12 years ago[USER32_WINETEST]
Thomas Faber [Wed, 22 Feb 2012 21:12:59 +0000 (21:12 +0000)]
[USER32_WINETEST]
- Do not depend on argument evaluation order and thus uninitialized values. Sent and applied upstream. Dedicated to Stefan

svn path=/trunk/; revision=55814

12 years agoSome misc fixes to Prefast.
Stefan Ginsberg [Wed, 22 Feb 2012 20:58:20 +0000 (20:58 +0000)]
Some misc fixes to Prefast.

[DDK]
- ndis.h Don't use local variables with the same name as function parameters.
[PSDK]
- access.idl Remove incorrect annotation
- usbioctl.h Not really a Prefast issue, but switch to use ANYSIZE_ARRAY like we do everywhere else.
- winddi.h EngQueryDeviceAttribute's 6th parameter is IN, not OUT
- winefs.h Fix FileEncryptionStatus to use annotations. Its definition in winbase.h already has them and this caused a conflict.
[WINE]
- debug.h Remove unnecessary check (in ReactOS) that made Prefast sad.
- test.h Disable a false-positive C28182.

svn path=/trunk/; revision=55813

12 years ago[USBEHCI] [USBOHCI] [USBUHCI]
Johannes Anderwald [Wed, 22 Feb 2012 19:25:54 +0000 (19:25 +0000)]
[USBEHCI] [USBOHCI] [USBUHCI]
- Fix retrieving configuration index for real
- Thanks to Thomas Faber

svn path=/trunk/; revision=55812

12 years ago[USBOHCI] [USBEHCI] [USBUHCI]
Johannes Anderwald [Wed, 22 Feb 2012 18:57:49 +0000 (18:57 +0000)]
[USBOHCI] [USBEHCI] [USBUHCI]
- Don't assume iConfiguration value of configuration descriptor is zero based aligned
- Fixes bugcheck in VmWare

svn path=/trunk/; revision=55811

12 years ago[USBUHCI]
Johannes Anderwald [Wed, 22 Feb 2012 18:34:39 +0000 (18:34 +0000)]
[USBUHCI]
- Detect the size of the configuration descriptor before obtaining the full configuration descriptor
- Fix integer overflow in BuildTransferDescriptorChain

svn path=/trunk/; revision=55810

12 years ago[USBUHCI]
Johannes Anderwald [Wed, 22 Feb 2012 17:24:43 +0000 (17:24 +0000)]
[USBUHCI]
- Queue dpc when the interrupt indicates completion of a transfer or an error interrupt
- Implement checking if a queue head is complete
- Free queue heads and associated endpoint descriptors

svn path=/trunk/; revision=55809

12 years ago[DDK]
Stefan Ginsberg [Wed, 22 Feb 2012 17:00:06 +0000 (17:00 +0000)]
[DDK]
- Fix a whole fat bunch of Prefast warnings by making the IoCsqxxx declarations in csq.h match the ones in wdm.h.

svn path=/trunk/; revision=55808

12 years ago[CABMAN]
Sylvain Petreolle [Wed, 22 Feb 2012 15:30:48 +0000 (15:30 +0000)]
[CABMAN]
Enable debug in order to figure the testbot problems.

svn path=/trunk/; revision=55807

12 years ago[USBUHCI]
Johannes Anderwald [Wed, 22 Feb 2012 14:11:23 +0000 (14:11 +0000)]
[USBUHCI]
- Write the configure bit
- Clear connection change and port suspend bit when set after controller initialization
- Queue work item after the reset port is complete
- Disable port before reseting it
- Wait time for reset is 50ms, not 25ms
- Clear reset change bit when clearing reset feature
- Implement enabling port feature

svn path=/trunk/; revision=55806

12 years ago[RTL]
Thomas Faber [Wed, 22 Feb 2012 12:02:59 +0000 (12:02 +0000)]
[RTL]
- Fix use of uninitialized variables in failure case of RtlSetCurrentDirectory_U. CID 15339, 15340
- Handles should be NULL, not 0

svn path=/trunk/; revision=55805

12 years ago[SMSS2]
Thomas Faber [Wed, 22 Feb 2012 11:31:04 +0000 (11:31 +0000)]
[SMSS2]
- Fix an uninitialized variable usage, CID 15345
- Fix an incorrect sizeof usage, CID 15317

svn path=/trunk/; revision=55804

12 years ago[SMSS2]
Thomas Faber [Wed, 22 Feb 2012 09:07:03 +0000 (09:07 +0000)]
[SMSS2]
- When deleting an old page file, take the newly freed space into account
- Keep at least 64 MB of disk free instead of 32 so that 2nd stage can succeed with a small disk
- Miscellaneous fixes and simplifications in the page file code

svn path=/trunk/; revision=55803

12 years ago[KERNEL32]: Rewrite the File Change Notification APIs since they were pretty much...
Alex Ionescu [Tue, 21 Feb 2012 23:27:45 +0000 (23:27 +0000)]
[KERNEL32]: Rewrite the File Change Notification APIs since they were pretty much wrong (not surprising as we don't implement the functionality in the kernel/filesystems).
[KERNEL32]: Enable support for asynchronous I/O callbacks with SxS/Fusion activation context support. Right now only added to the file Change notification APIs, but ReadFileEx and WriteFileEx should use them too.

svn path=/trunk/; revision=55801

12 years ago[CRT]
Jérôme Gardou [Tue, 21 Feb 2012 23:19:47 +0000 (23:19 +0000)]
[CRT]
 - fix array size to match what implementation expects.
Found by Thomas Faber. See issue 6903 for details.

svn path=/trunk/; revision=55800

12 years ago[USBUHCI]
Johannes Anderwald [Tue, 21 Feb 2012 23:18:46 +0000 (23:18 +0000)]
[USBUHCI]
- Sync shared parts with usbohci driver
- Fixes memory bug, includes data toggle support, device cleanup etc...

svn path=/trunk/; revision=55799

12 years ago[win32k]
Giannis Adamopoulos [Tue, 21 Feb 2012 23:07:30 +0000 (23:07 +0000)]
[win32k]
- Properly destroy the THREADINFO if we fail to create it. We don't leak the THREADINFO no in case of failure. It should also fix random assertion failure when running user32:desktop tests

svn path=/trunk/; revision=55798

12 years ago[CRT]
Jérôme Gardou [Tue, 21 Feb 2012 22:08:24 +0000 (22:08 +0000)]
[CRT]
 - C standard for free says "if pointer is NULL, no action is taken".
 - MSDN for HeapFree says "if pointer is NULL, behavior is undefined".
Thanks to Thomas for teaching wine guys how to read.

svn path=/trunk/; revision=55797

12 years agorevert r55794, the problem is elsewhere
Jérôme Gardou [Tue, 21 Feb 2012 21:58:42 +0000 (21:58 +0000)]
revert r55794, the problem is elsewhere

svn path=/trunk/; revision=55796

12 years ago[KERNEL32]: Lock/UnlockFile APIs should not allow console handles. Also remove superf...
Alex Ionescu [Tue, 21 Feb 2012 21:38:08 +0000 (21:38 +0000)]
[KERNEL32]: Lock/UnlockFile APIs should not allow console handles. Also remove superflous parameter check.
[KERNEL32]: Lock/UnlockFile APIs should handle STATUS_PENDING/ERROR_IO_PENDING situations instead of always assuming the Nt functions return synchronously.
[KERNEL32]: Other stylying changes + commenting/annotations.

svn path=/trunk/; revision=55795

12 years ago[CRT]
Jérôme Gardou [Tue, 21 Feb 2012 21:36:01 +0000 (21:36 +0000)]
[CRT]
 - Check for NULL before freeing

svn path=/trunk/; revision=55794

12 years ago[KERNEL32]: Format, comment, annotate, cleanup the I/O completion APIs.
Alex Ionescu [Tue, 21 Feb 2012 21:31:01 +0000 (21:31 +0000)]
[KERNEL32]: Format, comment, annotate, cleanup the I/O completion APIs.

svn path=/trunk/; revision=55793

12 years ago[USBOHCI]
Cameron Gutman [Tue, 21 Feb 2012 20:32:48 +0000 (20:32 +0000)]
[USBOHCI]
- Fix indication of USB_PORT_STATUS_RESET changes
- Fixes premature completion of resets causing assertions to fail

svn path=/trunk/; revision=55792

12 years ago[KERNEL32]: Use macro for CreateMailSlotA->CreateMailSlotW.
Alex Ionescu [Tue, 21 Feb 2012 19:19:44 +0000 (19:19 +0000)]
[KERNEL32]: Use macro for CreateMailSlotA->CreateMailSlotW.

svn path=/trunk/; revision=55791

12 years ago[KERNEL32]: CreateHardLinkW was not setting last error on failure.
Alex Ionescu [Tue, 21 Feb 2012 19:18:57 +0000 (19:18 +0000)]
[KERNEL32]: CreateHardLinkW was not setting last error on failure.
[KERNEL32]: Cleanup/format/comment/annotate CreateHardLink*.

svn path=/trunk/; revision=55790

12 years ago[USBUHCI]
Johannes Anderwald [Tue, 21 Feb 2012 18:53:04 +0000 (18:53 +0000)]
[USBUHCI]
- UHCI has 2 ports

svn path=/trunk/; revision=55789

12 years ago[USBUHCI]
Johannes Anderwald [Tue, 21 Feb 2012 18:33:37 +0000 (18:33 +0000)]
[USBUHCI]
- Implement starting the controller

svn path=/trunk/; revision=55788

12 years ago[USBUHCI]
Johannes Anderwald [Tue, 21 Feb 2012 18:19:24 +0000 (18:19 +0000)]
[USBUHCI]
- Implement function to retrieve queue head for the specified transfer type
- Pass device speed to IUSBRequest initialization routines
- Implementing inserting the new queue head into the required queue head
- Implement support for control transfers, not yet used

svn path=/trunk/; revision=55787

12 years ago[LIBPNG]
Amine Khaldi [Tue, 21 Feb 2012 18:17:50 +0000 (18:17 +0000)]
[LIBPNG]
* Sync up to 1.5.9.

svn path=/trunk/; revision=55786

12 years ago[CMAKE]
Amine Khaldi [Tue, 21 Feb 2012 18:01:08 +0000 (18:01 +0000)]
[CMAKE]
* Reorder the modules addresses based on their dependencies.

svn path=/trunk/; revision=55785

12 years ago[WIN32K]
Jérôme Gardou [Tue, 21 Feb 2012 18:00:50 +0000 (18:00 +0000)]
[WIN32K]
 - allocate FAST_MUTEX objects from non paged pool.
This should ix a bunch of weird testbot failures.
Any suggestion on the TAG is welcome

svn path=/trunk/; revision=55784

12 years ago[FTFD]
Amine Khaldi [Tue, 21 Feb 2012 18:00:08 +0000 (18:00 +0000)]
[FTFD]
* Properly set the base address.

svn path=/trunk/; revision=55783

12 years ago[CMAKE]
Jérôme Gardou [Tue, 21 Feb 2012 17:23:59 +0000 (17:23 +0000)]
[CMAKE]
 - fix copy-paste typo

svn path=/trunk/; revision=55782

12 years agofix msvc build, try 2
Jérôme Gardou [Tue, 21 Feb 2012 15:52:30 +0000 (15:52 +0000)]
fix msvc build, try 2

svn path=/trunk/; revision=55781

12 years ago[USBUHCI]
Johannes Anderwald [Tue, 21 Feb 2012 15:49:08 +0000 (15:49 +0000)]
[USBUHCI]
- Start implementing UHCI controller

svn path=/trunk/; revision=55780

12 years agofix build, sorry...
Jérôme Gardou [Tue, 21 Feb 2012 15:17:33 +0000 (15:17 +0000)]
fix build, sorry...

svn path=/trunk/; revision=55779

12 years ago[CMAKE]
Jérôme Gardou [Tue, 21 Feb 2012 15:03:19 +0000 (15:03 +0000)]
[CMAKE]
 - get rid of the no longer needed importlibs directory
 - exclude importlibs from all target in MSVC build

svn path=/trunk/; revision=55778

12 years ago[CMAKE]
Jérôme Gardou [Tue, 21 Feb 2012 14:56:36 +0000 (14:56 +0000)]
[CMAKE]
 - fix MSVC build

svn path=/trunk/; revision=55777

12 years ago[CMAKE]
Jérôme Gardou [Tue, 21 Feb 2012 14:32:05 +0000 (14:32 +0000)]
[CMAKE]
 - generate 'real' libraries for import libraries
This way only the link step relies on them.
Should avoid rebuilding half of the tree next time Alex changes ntdll.spec
A relinking orgy is more than enough

svn path=/trunk/; revision=55776

12 years ago[USBCCGP]
Johannes Anderwald [Tue, 21 Feb 2012 03:03:27 +0000 (03:03 +0000)]
[USBCCGP]
- Send unconfigure request when the device is removed
[USBOHCI]
- Handle unconfigure request

svn path=/trunk/; revision=55775

12 years ago[HIVESYS]
Cameron Gutman [Tue, 21 Feb 2012 02:19:04 +0000 (02:19 +0000)]
[HIVESYS]
- Load FS drivers on demand instead of boot start because WinLdr already adds the boot FS driver to the start list

svn path=/trunk/; revision=55774

12 years ago[NTOSKRNL]
Cameron Gutman [Tue, 21 Feb 2012 01:26:29 +0000 (01:26 +0000)]
[NTOSKRNL]
- Add prints to unloading functions because things seem very wonky here
- This exposes some previously unknown behavior of fastfat actually being unloaded in early boot (with uniata and buslogic failing unload due to missing DriverUnload)

svn path=/trunk/; revision=55773

12 years ago[HIDCLASS]
Johannes Anderwald [Tue, 21 Feb 2012 01:16:56 +0000 (01:16 +0000)]
[HIDCLASS]
- Call mini driver for pnp events
- Wait for all pending irps to complete
[HIDUSB]
- Fix bug when removing device object found by Cameron Gutman
[USBOHCI]
- Remove assert
- Delete configuration descriptors when device is deleted

svn path=/trunk/; revision=55772

12 years agoif A ASSERT B => ASSERT(B or not A)
Jérôme Gardou [Tue, 21 Feb 2012 00:46:18 +0000 (00:46 +0000)]
if A ASSERT B => ASSERT(B or not A)

svn path=/trunk/; revision=55771

12 years ago[NTOSKRNL/MM]
Jérôme Gardou [Tue, 21 Feb 2012 00:32:24 +0000 (00:32 +0000)]
[NTOSKRNL/MM]
 - finally, release user shared data at process address space cleanup.
 - release PDE pages that might not be freed at process end.
 - Let the caller handle PDE release when deleting a PTE
 - restore Richard's ASSERT : All user PDE pages are now freed!

svn path=/trunk/; revision=55770

12 years ago[TRANSLATION]
Kamil Hornicek [Tue, 21 Feb 2012 00:15:25 +0000 (00:15 +0000)]
[TRANSLATION]
da-da -> da-dk

svn path=/trunk/; revision=55769

12 years ago[LIBXSLT]
Amine Khaldi [Mon, 20 Feb 2012 23:46:02 +0000 (23:46 +0000)]
[LIBXSLT]
* Properly set a module type to take advantage of automatically setting the base address.

svn path=/trunk/; revision=55768

12 years ago[CMAKE]
Amine Khaldi [Mon, 20 Feb 2012 23:44:41 +0000 (23:44 +0000)]
[CMAKE]
* Alter the current base addresses, and introduce all the missing ones.
* We have a much better way to assign them, thanks to Timo's excellent suggestions.
* Big thanks go to Geir Hauge for making us an awesome script that conveniently and automagically generates baseaddress.cmake.
* Dedicated to Alex.

svn path=/trunk/; revision=55767

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 20 Feb 2012 23:34:17 +0000 (23:34 +0000)]
[NTOSKRNL]
- Silence a warning
- Unsilence 2 warnings

svn path=/trunk/; revision=55766

12 years ago* Addendum to r55764.
Amine Khaldi [Mon, 20 Feb 2012 22:09:21 +0000 (22:09 +0000)]
* Addendum to r55764.

svn path=/trunk/; revision=55765

12 years ago[CMAKE]
Amine Khaldi [Mon, 20 Feb 2012 22:08:14 +0000 (22:08 +0000)]
[CMAKE]
* Simplify the way we handle importlib targets by taking control of the importlib name.

svn path=/trunk/; revision=55764

12 years ago[NTOSKRNL/MM]
Jérôme Gardou [Mon, 20 Feb 2012 20:51:18 +0000 (20:51 +0000)]
[NTOSKRNL/MM]
  - Stop leaking references to PDEs.
Still one reference left to the TLB mapping at process deletion.

svn path=/trunk/; revision=55763

12 years ago[USETUP]
Jérôme Gardou [Mon, 20 Feb 2012 20:51:09 +0000 (20:51 +0000)]
[USETUP]
 - Print a bit more information when failing.

svn path=/trunk/; revision=55762

12 years ago[NTOSKRNL/MM]
Jérôme Gardou [Mon, 20 Feb 2012 20:50:36 +0000 (20:50 +0000)]
[NTOSKRNL/MM]
 - Make MmWorkingSetList PTE local
 - Map MmWorkingSetList to Vm.VmWorkingSetList when creating process.

svn path=/trunk/; revision=55761

12 years ago[MEDIA/INF]
Sylvain Petreolle [Mon, 20 Feb 2012 19:55:16 +0000 (19:55 +0000)]
[MEDIA/INF]
Ukrainian translation by Igor Paliychuk.

svn path=/trunk/; revision=55760

12 years ago- Hide test traces in test cd. This should make comparing test logs easier
Giannis Adamopoulos [Mon, 20 Feb 2012 19:26:27 +0000 (19:26 +0000)]
- Hide test traces in test cd. This should make comparing test logs easier

svn path=/trunk/; revision=55759

12 years ago[win32k]
Giannis Adamopoulos [Mon, 20 Feb 2012 18:05:33 +0000 (18:05 +0000)]
[win32k]
- Fix SPI_SETMOUSESPEED
- Patch by Edijs Kolesnikovics, terminedijs@yahoo.com

svn path=/trunk/; revision=55758

12 years ago[TRANSLATION]
Kamil Hornicek [Mon, 20 Feb 2012 16:49:48 +0000 (16:49 +0000)]
[TRANSLATION]
Renaming to match the CHINESE_TRADITIONAL sub lang.

svn path=/trunk/; revision=55757

12 years ago[USBHUB]
Johannes Anderwald [Mon, 20 Feb 2012 15:54:19 +0000 (15:54 +0000)]
[USBHUB]
- Check if the request is for a valid PDO

svn path=/trunk/; revision=55756

12 years ago[win32k]
Giannis Adamopoulos [Mon, 20 Feb 2012 13:23:32 +0000 (13:23 +0000)]
[win32k]
- Do not store the PDEVOBJ and a fake name in MONITOR struct. Use MONITOR.HDEV instead (which is an opaque pointer to a PDEVOBJ)

svn path=/trunk/; revision=55755

12 years agomissed this one, sorry
Kamil Hornicek [Mon, 20 Feb 2012 12:21:43 +0000 (12:21 +0000)]
missed this one, sorry

svn path=/trunk/; revision=55754

12 years ago[TRANSLATION]
Kamil Hornicek [Mon, 20 Feb 2012 12:20:42 +0000 (12:20 +0000)]
[TRANSLATION]
Rename pt-pt to match the pt-br sublang.

svn path=/trunk/; revision=55753