reactos.git
13 years ago[Win32k]
James Tabor [Mon, 27 Sep 2010 02:46:16 +0000 (02:46 +0000)]
[Win32k]
- Implement win32k support functions for Get and Set process default layout.
- Due to changes with wine it will be difficult to sync when RTL support is being added to ComCtl32.

svn path=/trunk/; revision=48904

13 years ago[DDK]: Add misisng MmLockPagableCodeSection.
Sir Richard [Sun, 26 Sep 2010 15:01:37 +0000 (15:01 +0000)]
[DDK]: Add misisng MmLockPagableCodeSection.

svn path=/trunk/; revision=48903

13 years ago[NTOSKRNL]
Eric Kohl [Sun, 26 Sep 2010 11:37:40 +0000 (11:37 +0000)]
[NTOSKRNL]
Implement NtQueryOpenSubKeys.

svn path=/trunk/; revision=48902

13 years agodisable some locale IDs because they are not supported yet
Matthias Kupfer [Sat, 25 Sep 2010 23:20:23 +0000 (23:20 +0000)]
disable some locale IDs because they are not supported yet
- 417 Rhaeto-Romanic
- 445 Bengali (India)
or still unknown
- 48f
- 490
this fixes multiple entries (see bug #5636)

svn path=/trunk/; revision=48898

13 years ago[NTOSKRNL]
Eric Kohl [Sat, 25 Sep 2010 21:49:15 +0000 (21:49 +0000)]
[NTOSKRNL]
IoRegisterPlugPlayNotification: Do not fail if no Interface can be found for the given GUID. Just do not call the Callback-Routine in this case. The Interface could be created later.

svn path=/trunk/; revision=48896

13 years ago[RTL]
Pierre Schweitzer [Sat, 25 Sep 2010 21:20:54 +0000 (21:20 +0000)]
[RTL]
Fixed a really stupid (and old) bug in RtlComputeCrc32():
First parameter is initial CRC32 checksum. And it's complete and not partial, thus it needs to be an ULONG and not an USHORT.
This fixes CRC32 checksum computation with initial checksum (tested again Windows 2003 & Seven).

svn path=/trunk/; revision=48895

13 years ago[PSDK]
Amine Khaldi [Sat, 25 Sep 2010 20:47:15 +0000 (20:47 +0000)]
[PSDK]
- Add missing header's header.

svn path=/trunk/; revision=48894

13 years ago[bzip2]
Christoph von Wittich [Sat, 25 Sep 2010 20:28:00 +0000 (20:28 +0000)]
[bzip2]
update bzip2 library to 2.06

svn path=/trunk/; revision=48892

13 years ago[WIN32K]
Jérôme Gardou [Sat, 25 Sep 2010 19:53:43 +0000 (19:53 +0000)]
[WIN32K]
  - clean up EXLATEOBJ before error path in NtGdiBitBlt

svn path=/trunk/; revision=48891

13 years agoone more fix (on request of Pierre S.)
Matthias Kupfer [Sat, 25 Sep 2010 19:24:03 +0000 (19:24 +0000)]
one more fix (on request of Pierre S.)

svn path=/trunk/; revision=48888

13 years agoadd missing close for handle
Matthias Kupfer [Sat, 25 Sep 2010 19:07:37 +0000 (19:07 +0000)]
add missing close for handle

svn path=/trunk/; revision=48886

13 years ago[SOLITAIRE]
Jérôme Gardou [Sat, 25 Sep 2010 18:44:54 +0000 (18:44 +0000)]
[SOLITAIRE]
  - do not include already included file in rc files

svn path=/trunk/; revision=48884

13 years agofix GeoID bug (forgotten \0)
Matthias Kupfer [Sat, 25 Sep 2010 18:24:57 +0000 (18:24 +0000)]
fix GeoID bug (forgotten \0)

svn path=/trunk/; revision=48883

13 years ago[win32k]
Giannis Adamopoulos [Sat, 25 Sep 2010 16:59:53 +0000 (16:59 +0000)]
[win32k]
- Cleanup UserSetCursorPos
- UserSetCursorPos: set the new position after sending WM_MOUSEMOVE message
now we pass all tests for SetCursorPos

svn path=/trunk/; revision=48879

13 years ago[PSDK]
Amine Khaldi [Sat, 25 Sep 2010 15:51:42 +0000 (15:51 +0000)]
[PSDK]
- Add CDROM_TOC_SESSION_DATA structure.
[DDK]
- Add missing min and max macros.

svn path=/trunk/; revision=48878

13 years ago[PSDK]
Amine Khaldi [Sat, 25 Sep 2010 15:37:43 +0000 (15:37 +0000)]
[PSDK]
- Add missing ntddmmc.h definitions.

svn path=/trunk/; revision=48877

13 years ago[PSDK]
Amine Khaldi [Sat, 25 Sep 2010 14:45:03 +0000 (14:45 +0000)]
[PSDK]
- Add some missing IOCTL_* definitions.

svn path=/trunk/; revision=48874

13 years ago[DDK]
Amine Khaldi [Sat, 25 Sep 2010 09:39:08 +0000 (09:39 +0000)]
[DDK]
- Fix a typo and introduce some minor formatting changes.

svn path=/trunk/; revision=48868

13 years agoFix build failure from r48863.
Eric Kohl [Sat, 25 Sep 2010 07:53:07 +0000 (07:53 +0000)]
Fix build failure from r48863.

svn path=/trunk/; revision=48867

13 years ago[HAL]
Eric Kohl [Sat, 25 Sep 2010 07:22:40 +0000 (07:22 +0000)]
[HAL]
Implement HalStopProfileInterrupt and add required RTC register and flag definitions.

svn path=/trunk/; revision=48866

13 years ago[PSDK/DDK]: Last couple of fixes to headers. Classpnp can compile (and link) now.
Sir Richard [Sat, 25 Sep 2010 05:46:31 +0000 (05:46 +0000)]
[PSDK/DDK]: Last couple of fixes to headers. Classpnp can compile (and link) now.

svn path=/trunk/; revision=48865

13 years ago[PSDK/DDK]: Add more missing definitions. Fix classpnp.h.
Sir Richard [Sat, 25 Sep 2010 05:15:47 +0000 (05:15 +0000)]
[PSDK/DDK]: Add more missing definitions. Fix classpnp.h.

svn path=/trunk/; revision=48864

13 years ago[PSDK]
Amine Khaldi [Sat, 25 Sep 2010 01:12:17 +0000 (01:12 +0000)]
[PSDK]
- Add some missing structures in ioevent.h
[DDK]
- Add some more missing definitions.

svn path=/trunk/; revision=48863

13 years ago[DDK]
Amine Khaldi [Sat, 25 Sep 2010 00:51:30 +0000 (00:51 +0000)]
[DDK]
- classpnp.h: Add FUNCTIONAL_DEVICE_EXTENSION, SET_FLAG, CLEAR_FLAG and TEST_FLAG

svn path=/trunk/; revision=48862

13 years ago[DDK]
Amine Khaldi [Fri, 24 Sep 2010 23:42:30 +0000 (23:42 +0000)]
[DDK]
- Add missing classpnp.h

svn path=/trunk/; revision=48861

13 years ago[NTDLL]: Use LOCK instead of lock for SList assembly functions, this is a conditional...
Sir Richard [Fri, 24 Sep 2010 17:02:13 +0000 (17:02 +0000)]
[NTDLL]: Use LOCK instead of lock for SList assembly functions, this is a conditional such that on UP, "lock" instruction won't be generated.
[NTDLL]: Apply the special begin/fault/resume lablels to the user-mode SList functions. Access faults can happen there due to a bug in the Windows algorithm, and Mm will need to handle that.
[NTOS]: Lookup the special labels from above when initializing the System DLL. Only lookup INT2E vs SYSENTER on x86, other architectures don't need a stub.
[NTOS]: Bitmap resources start at index 1, not 0. Also make sure we don't go past the maximum IDB_ resource index for no reason, and check the size of the resource instead of assuming it's going to be one page.
[NMIDEBUG]: Fix and cleanup some code, and enable NMI support on the boot/install CD as well.

svn path=/trunk/; revision=48860

13 years ago[ntoskrnl/ps]
Michael Martin [Fri, 24 Sep 2010 15:27:24 +0000 (15:27 +0000)]
[ntoskrnl/ps]
- Revert r48857. The Process object is dereferenced when the Thread object is destroyed, so dont dereference it here.

svn path=/trunk/; revision=48859

13 years ago[ntoskrnl/ps]
Michael Martin [Fri, 24 Sep 2010 10:23:01 +0000 (10:23 +0000)]
[ntoskrnl/ps]
- Remove mistakenly committed ASSERTs that were used during my tests.

svn path=/trunk/; revision=48858

13 years ago[ntoskrnl/ps]
Michael Martin [Fri, 24 Sep 2010 10:07:54 +0000 (10:07 +0000)]
[ntoskrnl/ps]
- PspCreateThread: If thread creation fails, dereference the Process object also to account for the reference taken at the beginning of the function.

svn path=/trunk/; revision=48857

13 years agoBig rapps Update
Daniel Reimer [Thu, 23 Sep 2010 21:33:49 +0000 (21:33 +0000)]
Big rapps Update

svn path=/trunk/; revision=48855

13 years ago[HAL]
Timo Kreuzer [Thu, 23 Sep 2010 20:22:12 +0000 (20:22 +0000)]
[HAL]
Fix amd64 build

svn path=/trunk/; revision=48854

13 years ago[Win32k]
James Tabor [Thu, 23 Sep 2010 17:51:10 +0000 (17:51 +0000)]
[Win32k]
- Coding for PrintWindow support for bug 5609. This does not fix the export, which should be a direct call to win32k.

svn path=/trunk/; revision=48853

13 years ago- Fix PciFindParentPciFdoExtension bug found by sir_richard "Early break would leave...
evb [Thu, 23 Sep 2010 13:24:41 +0000 (13:24 +0000)]
- Fix PciFindParentPciFdoExtension bug found by sir_richard "Early break would leave the lock held"
- Fix PciGetHackFlags for setup found by sir_richard "Setup currently doesn't have a correct registry"
- Fix DriverEntry for setup like PciGetHackFlags
- Fix DriverEntry PciOpenKey check found by sir_richard "PciOpenKey returns a BOOLEAN, not an NTSTATUS"
- Stop call PciGetAcpiTable found by sir_richard "PciGetAcpiTable is really broken, can lead to infinite loops, and also corrupts memory. We need to fix stefan's bugs"
- Implement not root FDO code in PciScanBus and support PCI_HACK_ONE_CHILD
- Implement multiple FDO exist code in PciAddDevice so PCI Bridge support now
- Implement PciAreBusNumbersConfigured for PCI Bridge support
- Hack FDO Start Device by sir_richard "The root FDO does send boot resources if PCIX is installed properly, this code will be needed"
- Do PCI_BUS_DRIVER_INTERNAL bugcheck by sir_richard "I have hacked KeBugCheckEx to ignore this for now, until PnP is fixed"
- Implement not root FDO code in PciInitializeArbiters
- Implement PciCacheLegacyDeviceRouting, PciFindPdoByLocation used by PciAssignSlotResources
- Make PciTranslateBusAddress do the stub work
- PciAssignSlotResources disabled because ReactOS not support IoAssignResources
- Implement PPBridge_ChangeResourceSettings
PCIX driver nearly working now.

svn path=/trunk/; revision=48851

13 years ago[KS]
Johannes Anderwald [Thu, 23 Sep 2010 11:36:00 +0000 (11:36 +0000)]
[KS]
- Simplify KsTopologyPropertyHandler by using KspReadMediaCategory helper
- Return correct status code in case of an overflow

svn path=/trunk/; revision=48850

13 years ago[I8042PRT]
Johannes Anderwald [Thu, 23 Sep 2010 11:32:34 +0000 (11:32 +0000)]
[I8042PRT]
- Fix potential buffer overflow

svn path=/trunk/; revision=48849

13 years ago- Bugs 5536, 5614, 5604, 5617 and 5540: Apply translation patches provided by Mario...
Amine Khaldi [Wed, 22 Sep 2010 19:29:20 +0000 (19:29 +0000)]
- Bugs 5536, 5614, 5604, 5617 and 5540: Apply translation patches provided by Mario Kacmar, Marcelo Zamperetti, Igor Paliychuk, Paolo Devoti and seven_ro.

svn path=/trunk/; revision=48847

13 years ago[FREELDR]: Fix the last remaining build issue. Libgcc needs to be linked to provide...
Sir Richard [Tue, 21 Sep 2010 17:50:01 +0000 (17:50 +0000)]
[FREELDR]: Fix the last remaining build issue. Libgcc needs to be linked to provide umovsi/udivsi, etc (same fix as for setupldr).

svn path=/trunk/; revision=48846

13 years ago[KERNEL32]
Amine Khaldi [Tue, 21 Sep 2010 17:14:22 +0000 (17:14 +0000)]
[KERNEL32]
- Sylvain Petreolle: Fix debug channels for release builds.

svn path=/trunk/; revision=48845

13 years ago[HAL]: Partly implement HalpAdjustPCIResourceList required for legacy HAL. No actual...
Sir Richard [Tue, 21 Sep 2010 17:07:40 +0000 (17:07 +0000)]
[HAL]: Partly implement HalpAdjustPCIResourceList required for legacy HAL. No actual adjustment is done yet, since the Range package is not implemented.
[HAL]: Implement most of HalpGetISAFixedPCIIrq, other than the legacy PCI IRQ Routing Miniport callbacks, which aren't yet implemented by ReactOS.
The Windows PCI Bus Driver seems to work now.

svn path=/trunk/; revision=48844

13 years ago- Update 3rd Party Files.txt To Current 3rd Party Releases.
Aleksey Bragin [Tue, 21 Sep 2010 08:30:56 +0000 (08:30 +0000)]
- Update 3rd Party Files.txt To Current 3rd Party Releases.
See issue #5603 for more details.

svn path=/trunk/; revision=48843

13 years agoPatches to allow Windows PCI Bus Driver to start working somewhat (need to implement...
Sir Richard [Tue, 21 Sep 2010 05:34:05 +0000 (05:34 +0000)]
Patches to allow Windows PCI Bus Driver to start working somewhat (need to implement HalAdjustResourceList for PCI to make it go further):
[BOOTDATA]: Windows Bus Drivers/HAL/Kernel require Arbiter data in the registry placed by the installer, otherwise they will not load. Add this Arbiter data.
[NTOS]: Add support for KeyValueFullInformationAlign64, used by some Windows drivers (as a bonus, support Win64). PartialInformationAlign64 is a different beast -- warn when a driver attempts to use it, instead of silent failure.
[NTOS]: Export VfFailSystemBIOS and stub it.
[NTOS]: Warn when a driver fails to load due to a missing dependency and print the name and/or missing module, instead of silently failing.
[NTOS]: Due to a bug in the ReactOS PnP manager, Windows PCI Driver hits an internal pseudo-assert. Hack KeBugCheckEx to ignore this pseudo-assert and continue executing normally.

svn path=/trunk/; revision=48839

13 years ago[TCPIP]
Cameron Gutman [Mon, 20 Sep 2010 19:08:40 +0000 (19:08 +0000)]
[TCPIP]
- Process the timer event directly from the DPC instead of queuing a work item then raising to DISPATCH_LEVEL later when acquiring a spin lock
- Optimize the spin lock operations in NBTimeout and IPDatagramReassemblyTimeout for being called at DISPATCH_LEVEL

svn path=/trunk/; revision=48833

13 years ago[usb/usbhub]
Michael Martin [Mon, 20 Sep 2010 06:55:54 +0000 (06:55 +0000)]
[usb/usbhub]
- WaitForUsbDeviceArrivalNotification: Dont use IoBuildDeviceIoControlRequest to create the IRP as we dont wait for the IRP to complete in the current thread. It must be built using IoAllocateIrp.
- DeviceArrivalCompletion: Allocate the WorkItem from NonPagedPool vice using one in the DeviceExtension. Free the Irp and return STATUS_MORE_PROCESSING_REQUIRED so the IO Manager doesnt try to do anything more with the now freed Irp.
- When selecting the Interface use the routines in USBD library now that they are implemented correctly.
- More fixes for passing the correct DeviceObject when calling QueryRootHub.

svn path=/trunk/; revision=48826

13 years ago[MISC]: Fix several compiler issues on my main build box. Some of the Unicode transla...
Sir Richard [Mon, 20 Sep 2010 06:30:21 +0000 (06:30 +0000)]
[MISC]: Fix several compiler issues on my main build box. Some of the Unicode translations in kernel32 fail to compile, while other libraries don't build because old C library names (without the underscore) are used.
[SETUPLDR]: Unify the old setupldr settings with more recent freeldr ones. Also fixes missing _udiv/mod functions on my build.

svn path=/trunk/; revision=48825

13 years ago[USETUP]
Eric Kohl [Sun, 19 Sep 2010 12:46:54 +0000 (12:46 +0000)]
[USETUP]
Add Brazilian portuguese USETUP localization patch by Edison Henrique Andreassy.

See issue #5313 for more details.

svn path=/trunk/; revision=48813

13 years ago[DESK.CPL]
Aleksey Bragin [Sun, 19 Sep 2010 11:54:33 +0000 (11:54 +0000)]
[DESK.CPL]
Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
- Renamed GLOBAL_DATA structures to DATA.
- Added real GLOBAL_DATA in background.c, that manages the background color.
- Resolved conflict of background colors in background.c and appearance.c.
- Fixed drawing the menu in draw.c.
See issue #5620 for more details.

svn path=/trunk/; revision=48812

13 years ago[usb/usbd]
Michael Martin [Sun, 19 Sep 2010 00:30:49 +0000 (00:30 +0000)]
[usb/usbd]
- Fix calculation bug in USBD_ParseDescriptors which caused descriptors to be skipped and all Parse functions to return bad information.
- USBD_CreateConfigurationRequestEx: Fix calculation for the size of the URB.
Dont copy the InterfaceList to the Urbs Interface member as they are not the same structures.  Instead loop through each interface and endpoint to get the data needed for the Interface member of URB.
- USBD_GetInterfaceLength: Add missing brackets for the FOR LOOP. The first descriptors length is part of the Length regardless of what it is.
If bDescriptorType of USB_INTERFACE_DESCRIPTOR_TYPE is reached a second time then break from the loop, as the length calculation is done.

svn path=/trunk/; revision=48810

13 years ago[IP]
Cameron Gutman [Sat, 18 Sep 2010 15:50:56 +0000 (15:50 +0000)]
[IP]
- Fix a reference leak when aborting a listen request

svn path=/trunk/; revision=48806

13 years ago[NTOS]
Aleksey Bragin [Sat, 18 Sep 2010 09:14:45 +0000 (09:14 +0000)]
[NTOS]
- Add support for Cyrix CPUs by checking and applying a workaround for the Cyrix 6x COMA bug (description here: http://gwyn.tux.org/~balsa/linux/cyrix/p11.html).
See issue #5610 for more details.

svn path=/trunk/; revision=48801

13 years ago[SC]
Aleksey Bragin [Sat, 18 Sep 2010 08:41:06 +0000 (08:41 +0000)]
[SC]
- Roel Messiant: Fix a crash when running some operations in sc without providing arguments. Also, provide usage information for the control and unknown commands.
- Aleksey Bragin: Take Ged Murphy's comments into account and change pointer arithmetic to a convenient style.
See issue #5611 for more details.

svn path=/trunk/; revision=48800

13 years ago[OLE32]
Aleksey Bragin [Fri, 17 Sep 2010 20:13:28 +0000 (20:13 +0000)]
[OLE32]
- Sync to Wine-20100918.
See issue #5592 for more details.

svn path=/trunk/; revision=48795

13 years ago[SHELL32]
Timo Kreuzer [Fri, 17 Sep 2010 19:00:12 +0000 (19:00 +0000)]
[SHELL32]
Johannes Anderwald:
- Partly revert 48786
- Use existing sLinkPath instead of own grown sCurFile
- Fixes 6 more winetest failures, 4 to go for shellink test

svn path=/trunk/; revision=48792

13 years ago[SHELL32]
Amine Khaldi [Fri, 17 Sep 2010 10:26:17 +0000 (10:26 +0000)]
[SHELL32]
Johannes Anderwald:
- Improve parameter checks for IShellLinkA interface.
- Fix heap corruption when an invalid pointer is passed.
- Implement IPersistFile_fnGetCurFile.
- TODO: Add same checks to IShellLinkW interface and fix IShellLink[A|W]::GetPath / SetPath / SetIdList / GetIdList logic.

svn path=/trunk/; revision=48786

13 years ago[WIN32K]
Timo Kreuzer [Fri, 17 Sep 2010 01:34:50 +0000 (01:34 +0000)]
[WIN32K]
Fix a bug, where a failure to allocate the kernel mode WINDOW_OBJECT would cause a page fault, because the WND was still allocated, but never initialized, and Wnd->rpdesktop was then dereferenced to free the WND again.

svn path=/trunk/; revision=48785

13 years ago[NTOS]
Timo Kreuzer [Thu, 16 Sep 2010 19:21:20 +0000 (19:21 +0000)]
[NTOS]
- More fixes to VDM PUSH/POPF code:
- When doing a 32bit push, don't store the flags 2 bytes off
- Recalculate HardwareEsp, by substracting the segment part, instead of truncating the flat pointer to 16 bit.

svn path=/trunk/; revision=48781

13 years agoPatch by Anton Yarotsky:
Sir Richard [Thu, 16 Sep 2010 02:22:10 +0000 (02:22 +0000)]
Patch by Anton Yarotsky:
[NTOSKRNL]: Fix support for non Headless scenarios as well.

svn path=/trunk/; revision=48780

13 years agoFix arm build a bit.
Timo Kreuzer [Wed, 15 Sep 2010 23:48:38 +0000 (23:48 +0000)]
Fix arm build a bit.

svn path=/trunk/; revision=48779

13 years agoPatch by Anton Yarotsky:
Sir Richard [Wed, 15 Sep 2010 18:30:06 +0000 (18:30 +0000)]
Patch by Anton Yarotsky:
[NTOSKRNL]: Implement CmdPutString command, and add log message types. Kernel version/build, processor, and RAM, now appear on EMS screen (due to InbvDisplayString), as well as loaded drivers. Next steps are to support log entries and a flag to route debug output (a ReactOS-specific feature request).

svn path=/trunk/; revision=48778

13 years ago[usb/usbehci]
Michael Martin [Wed, 15 Sep 2010 13:16:59 +0000 (13:16 +0000)]
[usb/usbehci]
- Change email address to one that actually works.

svn path=/trunk/; revision=48777

13 years ago[DDK]
Amine Khaldi [Wed, 15 Sep 2010 09:03:57 +0000 (09:03 +0000)]
[DDK]
- Define DECLSPEC_EXPORT when it's not already defined.

svn path=/trunk/; revision=48774

13 years agoPatch by Anton Yarotsky:
Sir Richard [Wed, 15 Sep 2010 07:46:28 +0000 (07:46 +0000)]
Patch by Anton Yarotsky:
[NTOSKRNL]: Implement basic Headless support in the kernel. Implement missing InbvPort routines based on WinLdrPort (using cportlib). Add header for Hdl. Terminal initializes now on COM2. Added misisng code to InbvDisplayString to also display on Headless Terminal (requires unimplemented HeadlessDispatch). Next steps are to implement the kernel log buffer, and HeadlessCmdPutString to see boot strings.

svn path=/trunk/; revision=48773

13 years agoPatch by Anton Yarotsky:
Sir Richard [Wed, 15 Sep 2010 07:40:50 +0000 (07:40 +0000)]
Patch by Anton Yarotsky:
[FREELDR]: Fix Headless support.

svn path=/trunk/; revision=48772

13 years ago[usb/usbhub]
Michael Martin [Tue, 14 Sep 2010 12:04:15 +0000 (12:04 +0000)]
[usb/usbhub]
- On completion of SCE request, create and queue a workitem to handle:
Clearing the connection flag and reset the port.
Create and initialize the USB device by calling the appropriate roothubs Direct Call Interface.
Create the device object, get the device descriptors and the serial and product strings of the USB device to be used for creating the deviceid and instanceid.
- Format code and misc changes.
- Together with the usbehci driver, ReactOS at least runs the device installation wizard with the correct device description.

svn path=/trunk/; revision=48771

13 years ago[usb/usbehci]
Michael Martin [Tue, 14 Sep 2010 09:46:28 +0000 (09:46 +0000)]
[usb/usbehci]
- Dont reset the port in the DPC after device is connected, the usbhub driver will do that later.
- Implement ResetPort and create a timer to call a DPC to coplete the SCE request.
- Dont queue all URBs and have seperate thread complete them as other URBs may still need to be completed.
Instead only queue the SCE request and complete it when a usb device is connected or reset.
- Implement RemoveURBRequest and fix bugs in URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
- For IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO dont return the FDO in Argument2 as no upper level driver should be communicating with the FDO of the roothub.
- Dont assign the usb device an address when initialized as the hub driver will do it later.

svn path=/trunk/; revision=48770

13 years agoPatch by Anton Yarotsky:
Sir Richard [Mon, 13 Sep 2010 20:36:49 +0000 (20:36 +0000)]
Patch by Anton Yarotsky:
[FREELDR]: Implement support for /redirect=comX (usebiossettings not yet supported) and /redirectbaudrate. Uses cportlib. Tested, serial output works and kernel reports "Headless support is not yet implemented". Future revisions should support ACPI SRT for PCI-based serial ports on server systems.

svn path=/trunk/; revision=48768

13 years ago[USETUP]
Amine Khaldi [Mon, 13 Sep 2010 17:25:00 +0000 (17:25 +0000)]
[USETUP]
- Sylvain Petreolle: Improve debug prints for disk space check.

svn path=/trunk/; revision=48767

13 years ago[USETUP]
Amine Khaldi [Mon, 13 Sep 2010 16:34:15 +0000 (16:34 +0000)]
[USETUP]
- Christoph von Wittich: Add a debug print, and improve an existing one.

svn path=/trunk/; revision=48766

13 years ago[BATT]
Eric Kohl [Mon, 13 Sep 2010 11:48:59 +0000 (11:48 +0000)]
[BATT]
Add missing 4th parameter to BatteryClassCoInstaller.

svn path=/trunk/; revision=48764

13 years ago[DESK]
Cameron Gutman [Sun, 12 Sep 2010 20:10:27 +0000 (20:10 +0000)]
[DESK]
- "repair DragFullWindows setting"
- Patch by Matthias Kupfer

svn path=/trunk/; revision=48761

13 years agoLikely fix for bug 5600:
Sir Richard [Sun, 12 Sep 2010 19:10:27 +0000 (19:10 +0000)]
Likely fix for bug 5600:
[NTOS]: Using IsBadRead/CodePtr, it's possible for user-mode code to generate cases where we *think* this is an ARM3-managed piece of VA, which will always have a VAD (Since we only manage the PEB/TEB), but actually it's a bogus VA-looking address that is actually invalid. We didn't consider this case. We now implement the same code Windows normally would also handle, when the VA is bogus, and accept that no VAD might be found, so MM_NOACCESS is returned and thus an access violation sent to the caller. In the case of the IsBad...Ptr, this function would then return TRUE, as the caller expects.

svn path=/trunk/; revision=48759

13 years ago[NTOS]: Move the fix for pool corruption due to dangling MmProcessLinks pointer into...
Sir Richard [Sun, 12 Sep 2010 19:02:39 +0000 (19:02 +0000)]
[NTOS]: Move the fix for pool corruption due to dangling MmProcessLinks pointer into its correct location. Thanks again to Martin for the fix.

svn path=/trunk/; revision=48758

13 years agoMake Services.exe and Winlogon.exe wait for the LSA server to be up and running....
Eric Kohl [Sun, 12 Sep 2010 16:29:43 +0000 (16:29 +0000)]
Make Services.exe and Winlogon.exe wait for the LSA server to be up and running. Otherwise calls to any LSA function might fail.

Thanks to Roel Messiant for testing and analyzing the debug logs.

See issue #5497 for more details.

svn path=/trunk/; revision=48757

13 years ago[PSDK]
Amine Khaldi [Sun, 12 Sep 2010 14:51:32 +0000 (14:51 +0000)]
[PSDK]
- Properly guard d3d9types.h and d3dtypes.h against DIRECT3D_VERSION versions.

svn path=/trunk/; revision=48754

13 years ago- Revert 48750, I was misinformed.
Aleksey Bragin [Sun, 12 Sep 2010 12:14:46 +0000 (12:14 +0000)]
- Revert 48750, I was misinformed.

svn path=/trunk/; revision=48753

13 years ago[NDIS]
Cameron Gutman [Sun, 12 Sep 2010 11:57:55 +0000 (11:57 +0000)]
[NDIS]
- Fix timer queuing
- See issue #5461 for details

svn path=/trunk/; revision=48752

13 years ago[PCIX]
Aleksey Bragin [Sun, 12 Sep 2010 10:35:01 +0000 (10:35 +0000)]
[PCIX]
- Stefan Ginsberg: Fix a typo in the if expression.

svn path=/trunk/; revision=48751

13 years ago[NTOS]
Aleksey Bragin [Sun, 12 Sep 2010 10:29:35 +0000 (10:29 +0000)]
[NTOS]
- Add CmRegistryMachineSystemName to the internal header file, needed for Pierre's further work.

svn path=/trunk/; revision=48750

13 years ago[FREETYPE]
Aleksey Bragin [Sun, 12 Sep 2010 10:11:55 +0000 (10:11 +0000)]
[FREETYPE]
- Fix FT_Get_CID_Is_Internally_CID_Keyed export name to match source code.

svn path=/trunk/; revision=48749

13 years ago- Fix the ChangeResourceSetting and the Reset configurator callback parameter names
Sir Richard [Sun, 12 Sep 2010 06:03:12 +0000 (06:03 +0000)]
- Fix the ChangeResourceSetting and the Reset configurator callback parameter names
- Part support for resource change with PciComputeNewCurrentSettings... full support for PciSetResources, PciUpdateHardware, PcipUpdateHardare
- IRP_MN_START_DEVICE for PDO (PciPdoIrpStartDevice) implement
- PciNextPartialDescriptor, PciDebugPrintCmResList, PciDebugPrintPartialResource helpers implement
- Now full PDO support almost done, PCIX driver ready for test
- Thanks to cgoodman assert fix
- PnP forever recursion in enumerate, must fix to finish
- Goodbye sir_richard, nice to have you

svn path=/trunk/; revision=48748

13 years ago[USETUP]
Cameron Gutman [Sun, 12 Sep 2010 00:47:07 +0000 (00:47 +0000)]
[USETUP]
- Update the Polish translation
- Patch by Olaf Siejka

svn path=/trunk/; revision=48747

13 years ago[WINLOGON]
Aleksey Bragin [Sat, 11 Sep 2010 21:16:41 +0000 (21:16 +0000)]
[WINLOGON]
- Fix comments copypasta.

svn path=/trunk/; revision=48746

13 years ago[NTOS]
Aleksey Bragin [Sat, 11 Sep 2010 09:20:26 +0000 (09:20 +0000)]
[NTOS]
- Daniel Zimmermann: Fix POPF bugs in VDM mode, namely truncation of the stackpointer to 16 bit and setting proper flags in the trapframe eflags register. This fixes problems with videocards calling int 0x10 VESA BIOS extension.
See issue #5608 for more details.

svn path=/trunk/; revision=48745

13 years ago- Fix build, sorry.
Aleksey Bragin [Sat, 11 Sep 2010 09:01:58 +0000 (09:01 +0000)]
- Fix build, sorry.

svn path=/trunk/; revision=48744

13 years ago[HAL]
Aleksey Bragin [Fri, 10 Sep 2010 21:57:46 +0000 (21:57 +0000)]
[HAL]
- Don't include PCI IDs database into mini-HAL.

svn path=/trunk/; revision=48743

13 years ago[DESK.CPL]
Eric Kohl [Fri, 10 Sep 2010 21:57:36 +0000 (21:57 +0000)]
[DESK.CPL]
Fix client font in the advanced appearance dialog. Patch by Katayama Hirofumi.
See issue #5552 for more details.

svn path=/trunk/; revision=48742

13 years ago[FORMATTING]
Aleksey Bragin [Fri, 10 Sep 2010 21:51:32 +0000 (21:51 +0000)]
[FORMATTING]
- Fix indentation.

svn path=/trunk/; revision=48741

13 years ago[HAL]
Aleksey Bragin [Fri, 10 Sep 2010 21:46:13 +0000 (21:46 +0000)]
[HAL]
- Add missing call to HalInitPnpDriver during I/O manager initialization. The HAL PnP driver was never getting initialized.
- Add HAL callback for HalInitPnpDriver. It's going to be needed in future for eVb's PCI driver to fully work (interrupt translation, among other things).

svn path=/trunk/; revision=48740

13 years ago[NTOS]
Aleksey Bragin [Fri, 10 Sep 2010 21:28:24 +0000 (21:28 +0000)]
[NTOS]
- Fix several bugs in Inbv (busted locking code, useless variables, magic initializers).

svn path=/trunk/; revision=48739

13 years ago[ntoskrnl/io]
Michael Martin [Fri, 10 Sep 2010 21:25:53 +0000 (21:25 +0000)]
[ntoskrnl/io]
- Modify IopCreateDriver to accept the PLDR_DATA_TABLE_ENTRY instead of the DllBase and SizeOfImage from this structure.
- Set the DriverObject->DriverSection before calling the DriverEntry routine.
- If the DriverEntry routine fails then set the DriverObject->DriverSection back to NULL so that IopDeleteDriver doesnt attempt to unload the ModuleObject, after it was already unloaded by the caller.

svn path=/trunk/; revision=48738

13 years ago[NTOS]
Aleksey Bragin [Fri, 10 Sep 2010 21:13:06 +0000 (21:13 +0000)]
[NTOS]
- Fix a code typo which led to a security issue when the XOR algorithm for the system cookie might actually yield zero. Now it's going to loop as long as the cookie is 0, attempting to generate a non-zero one.

svn path=/trunk/; revision=48737

13 years ago[NDK]
Aleksey Bragin [Fri, 10 Sep 2010 21:08:38 +0000 (21:08 +0000)]
[NDK]
- Remove deprecated KV86M structures and files.

svn path=/trunk/; revision=48736

13 years ago[NTOS]
Aleksey Bragin [Fri, 10 Sep 2010 21:01:59 +0000 (21:01 +0000)]
[NTOS]
- Fix a strange bug where we were only setting SharedUserData->TestRetInstruction conditionally only if lookup failed - it should be set on success. Also, bail out if the lookups failed.

svn path=/trunk/; revision=48735

13 years ago[ntoskrnl/io/pnpmgr]
Michael Martin [Fri, 10 Sep 2010 19:45:01 +0000 (19:45 +0000)]
[ntoskrnl/io/pnpmgr]
- Fix incorrect POOL_TYPE allocation in IoInvalidateDeviceRelations. This function can be called at DISPATCH_LEVEL, which requires NonPagedPool POOL_TYPE.

svn path=/trunk/; revision=48734

13 years ago[NDK]
Aleksey Bragin [Fri, 10 Sep 2010 18:20:37 +0000 (18:20 +0000)]
[NDK]
- Fix KiBugCheckData declaration.

svn path=/trunk/; revision=48733

13 years ago[WIN32K]
Aleksey Bragin [Fri, 10 Sep 2010 18:13:02 +0000 (18:13 +0000)]
[WIN32K]
- Giannis Adamopoulos: Only dereference a class if it's valid, should fix Heroes 3 crash.
See issue #5606 for more details.

svn path=/trunk/; revision=48732

13 years ago[HAL]
Aleksey Bragin [Fri, 10 Sep 2010 13:15:51 +0000 (13:15 +0000)]
[HAL]
- Stub support for future timer latency watchdog.
- Change older-style comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48731

13 years ago[NTOS]
Aleksey Bragin [Fri, 10 Sep 2010 09:54:30 +0000 (09:54 +0000)]
[NTOS]
- Rename KINTERRUPT_DISPATCH_CODES to DISPATCH_LENGTH, as it is in PSDK.
- Enhance NMI debug support.
- Change some comments to standard ReactOS commenting style.

svn path=/trunk/; revision=48730

13 years ago[KERNEL32]
Aleksey Bragin [Fri, 10 Sep 2010 09:04:25 +0000 (09:04 +0000)]
[KERNEL32]
- Fix release build, part 2. Further improvement to gDebugChannels would be to convert them to a DECLARE_DEBUG_CHANNEL-alike macro.

svn path=/trunk/; revision=48729

13 years ago- Fix typos in the description of serial port defines.
Aleksey Bragin [Fri, 10 Sep 2010 08:30:13 +0000 (08:30 +0000)]
- Fix typos in the description of serial port defines.

svn path=/trunk/; revision=48728

13 years agoPatch by Anton Yarotsky:
Sir Richard [Fri, 10 Sep 2010 05:22:48 +0000 (05:22 +0000)]
Patch by Anton Yarotsky:
[CPORTLIB]: Implement Windows' Cp (ComPort) library. See Notes in C file. Not yet used. Based on MS Whitepaper: Building Hardware and Firmware to Complement Microsoft Windows Headless Operation.

svn path=/trunk/; revision=48727