[USER32]
Fix sizeof(WCHAR) vs sizeof(CHAR) problem. Patch by Victor Martinez.
CORE-8166 #resolve #comment Committed in r63341, thanks.

git-svn-id: svn://svn.reactos.org/reactos/trunk@63341 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]
Add a memory dump facility.

git-svn-id: svn://svn.reactos.org/reactos/trunk@63342 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]: Improve the dumper a bit.

git-svn-id: svn://svn.reactos.org/reactos/trunk@63343 97493ccd-5924-5043-b1f5-66cb403b36ce
[ACPI]
- Fix a buffer overrun that caused a BSOD with ACPI enabled on Hyper-V
- Dynamically allocate the hardware ID buffer to prevent another HID overrun
- Switched sprintf to snprintf to prevent this from happening to another ID

git-svn-id: svn://svn.reactos.org/reactos/trunk@63344 97493ccd-5924-5043-b1f5-66cb403b36ce
[ACPI]
- Start reporting compatible IDs for ACPI-enumerated devices other than processors
- Not sure how this was overlooked for so long...

git-svn-id: svn://svn.reactos.org/reactos/trunk@63345 97493ccd-5924-5043-b1f5-66cb403b36ce
[ACPI]
- Fix 2nd stage boot

git-svn-id: svn://svn.reactos.org/reactos/trunk@63346 97493ccd-5924-5043-b1f5-66cb403b36ce
[HIVESYS]
- Add PS/2 input devices to the critical device database

git-svn-id: svn://svn.reactos.org/reactos/trunk@63347 97493ccd-5924-5043-b1f5-66cb403b36ce
[NDIS]
- Restore the pending NDIS request before calling the completion routine
- Fixes crash with Broadcom 57xx drivers (link detection still not working)

git-svn-id: svn://svn.reactos.org/reactos/trunk@63348 97493ccd-5924-5043-b1f5-66cb403b36ce
[ACPI]
- Handle IRP_MN_CANCEL_REMOVE_DEVICE, IRP_MN_QUERY_REMOVE_DEVICE, and IRP_MN_REMOVE_DEVICE for child devices
- Fixes issues loading new drivers for ACPI-enumerated devices

git-svn-id: svn://svn.reactos.org/reactos/trunk@63349 97493ccd-5924-5043-b1f5-66cb403b36ce
[CMAKE/MSVC]
* Define _ALLOW_KEYWORD_MACROS to get the news MSVC toolchain to allow us to redefine inline (it became a keyword). Reported by David Quintana.

git-svn-id: svn://svn.reactos.org/reactos/trunk@63353 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
- Do not ASSERT that a page fault im MmArmAccessFault happens on an invalid page. Instead handle write-on-readonly-PTE faults (Copy-on-write still unhandled). This ASSERT was not triggered so far, since ARM3 mapped all pages as read/write regardless of protection! So all (page file backed) sections mapped into user space were writable and could be happily modified from user mode!
- Fix MI_MAKE_HARDWARE_PTE_USER, so that it respects the actual protection.

git-svn-id: svn://svn.reactos.org/reactos/trunk@63354 97493ccd-5924-5043-b1f5-66cb403b36ce
[USETUP]
First part of the partition management code rewrite. This part fixes the handling of primary partitions. Extended partitions and logical drives are not handled yet. Safety checks and warnings are still missing! Partitions created by the new code are accepted by gparted and Windows.



git-svn-id: svn://svn.reactos.org/reactos/trunk@63355 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
- Fix a bug in MiQueryAddressState that prevented it from returning a valid protection
- Add support for PAE and x64 to MiQueryAddressState
- Acquire the working set lock in MiQueryMemoryBasicInformation before MiQueryAddressState
- Fix RegionSize calculation in MiQueryMemoryBasicInformation
- Handle ZeroBits and Process->VmTopDown in NtAllocateVirtualMemory
- Fix a bug in calculating the ending address of a virtual allocation
- Gracefully handle Vad allocation failure
- Free Vad allocation on failure
- Write values back to usermode only in case of success

git-svn-id: svn://svn.reactos.org/reactos/trunk@63356 97493ccd-5924-5043-b1f5-66cb403b36ce
[CRT]
* Import _isleadbyte_l().
* Import _mbtowc_l().
* Import mbtowc() instead of our own.
* Fixes some msvcrt tests.
CORE-8080

git-svn-id: svn://svn.reactos.org/reactos/trunk@63358 97493ccd-5924-5043-b1f5-66cb403b36ce
[bootdata]
add entries for optional broadcom 57xx drivers (used by the official ReactOS test laptop)

git-svn-id: svn://svn.reactos.org/reactos/trunk@63359 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
- Fail device initialization if a filter fails to load so the PnP manager can try again later
- Fix some handle leaks
- Reset device node flags after a remove IRP is sent
[I8042PRT|MOUCLASS|KBDCLASS]
- Implement proper support for PnP remove IRPs
See issue #8238 for more details.


git-svn-id: svn://svn.reactos.org/reactos/trunk@63360 97493ccd-5924-5043-b1f5-66cb403b36ce
[KERNEL32]
Usually the command line is made of the application name and its parameters. When launching a DOS program, BaseCheckVDM builds suitable ApplicationName and CommandLine strings "DOS-compatible". ApplicationName is left-trimmed for whitespace and then converted to short-path format, and CommandLine sees the application name part (its first token) removed. We didn't do it before, we do it now. Care is taken when quotes are present in ApplicationName. Finally DOS command lines usually receive a newline character, so we also add it there. This is how behave Windows: just put our ntvdm in Windows, and observe what it receives...

git-svn-id: svn://svn.reactos.org/reactos/trunk@63361 97493ccd-5924-5043-b1f5-66cb403b36ce