Commit graph

39286 commits

Author SHA1 Message Date
Stefan Ginsberg e5604f31b1 Move x86 assembly macros into the x86 directory.
svn path=/trunk/; revision=43461
2009-10-14 17:21:56 +00:00
Timo Kreuzer c236dd31f9 Fix definition of PORT_MAXIMUM_MESSAGE_LENGTH for 64 bit
svn path=/trunk/; revision=43460
2009-10-14 17:05:51 +00:00
Johannes Anderwald a299db4e69 - Fix debugging flood #2
svn path=/trunk/; revision=43459
2009-10-14 17:04:08 +00:00
Timo Kreuzer e34f5ea80b Add back PORT_MAXIMUM_MESSAGE_LENGTH for user mode, thanks Stefan
svn path=/trunk/; revision=43458
2009-10-14 17:03:41 +00:00
Johannes Anderwald c2f2fe2649 - Fix debugging flood
svn path=/trunk/; revision=43457
2009-10-14 16:59:07 +00:00
Timo Kreuzer b40f0f355b [NDK] remove PORT_MAXIMUM_MESSAGE_LENGTH, it's defined in wdm.h
svn path=/trunk/; revision=43456
2009-10-14 16:56:54 +00:00
Timo Kreuzer af3f2d5454 Merge amd64 NDK from amd64 branch:
34711, 34712, 34842, 34925, 34967, 34970, 35323, 35324, 35347, 35348, 35361, 35436, 35509, 35588, 35739, 35823, 35952, 35966, 36360, 37323, 37434, 37472, 37536, 37820, 37821, 37869, 37990, 38013, 38014, 43426, 43454

svn path=/trunk/; revision=43455
2009-10-14 16:45:35 +00:00
Timo Kreuzer fccc4f0a40 Update MMPTE_HARDWARE
svn path=/branches/ros-amd64-bringup/; revision=43454
2009-10-14 16:32:41 +00:00
Aleksey Bragin fd5c075531 [fastfat_new]
- Implement shared VCB locking.
- Implement QueryVolumeInfo common handler, and a handler of QueryFsVolumeInfo class. Doesn't currently work due to missing VPB.

svn path=/trunk/; revision=43453
2009-10-14 15:59:14 +00:00
Timo Kreuzer 91984711f0 Update ReactOS-amd64.rbuild
svn path=/trunk/; revision=43452
2009-10-14 14:29:32 +00:00
Timo Kreuzer 84770fa03a Fix NtGetWriteWatch and NtResetWriteWatch parameters
svn path=/branches/ros-amd64-bringup/; revision=43451
2009-10-14 13:25:30 +00:00
Timo Kreuzer 0239d1ae85 fix copy paste error
svn path=/branches/ros-amd64-bringup/; revision=43450
2009-10-14 11:56:36 +00:00
Timo Kreuzer c321e57645 prefix DEBUG_CONTROL constants with AMD64 as they are architecture specific
svn path=/branches/ros-amd64-bringup/; revision=43449
2009-10-14 11:53:30 +00:00
Timo Kreuzer b29a47bfdf [KD64]
- use SEH in KdpSysReadMsr
- use constants for KdpSysReadControlSpace cases (DEBUG_CONTROL_SPACE_KSPECIAL taken from singularity)
- implement case DEBUG_CONTROL_SPACE_KTHREAD returning a pointer to the current thread
- Implement KdpSysReadIoSpace, KdpSysWriteIoSpace for amd64, can be used for x86, too

svn path=/branches/ros-amd64-bringup/; revision=43448
2009-10-14 11:39:59 +00:00
Timo Kreuzer 3c1b6d34c0 [DDK] Fix MmSizeOfMdl prototype
svn path=/branches/ros-amd64-bringup/; revision=43447
2009-10-14 11:23:57 +00:00
Johannes Anderwald 7f2ba55772 - Implement KSPROPERTY_CONNECTION_ALLOCATORFRAMING for CPortPinWaveCyclic + CPortPinWavePci
svn path=/trunk/; revision=43446
2009-10-14 10:24:19 +00:00
Michael Martin a9b7f4cd7a - CmpPrepareKey: If cell signature is CM_KEY_NODE_SIGNATURE, the KeyCell is index leaf, handle it properly by calling CmpPrepareKey vice CmpPrepareIndexOfKeys. Fixes ASSERT in cminit.c that occurs on reboot after installing some applications.
svn path=/trunk/; revision=43445
2009-10-14 09:50:31 +00:00
Christoph von Wittich 7143b94c1b -revert accidental change
svn path=/trunk/; revision=43444
2009-10-13 21:51:16 +00:00
Christoph von Wittich 688c43c992 [BDASUP]
-fix some function declarations

svn path=/trunk/; revision=43443
2009-10-13 21:49:36 +00:00
Christoph von Wittich df9eccd994 partial sync to wine 1.1.31
svn path=/trunk/; revision=43442
2009-10-13 21:09:08 +00:00
Gregor Schneider 3a38bb048a [spider]
- Check for completed stack after dealing cards by installing one function to do this in call three cases, bug #4886
- Fix and simplify drop rules (only by number) and validation rules (by number and type) for two and four color games
- Fix typo in Polish Translation

svn path=/trunk/; revision=43441
2009-10-13 20:34:05 +00:00
Stefan Ginsberg 26a8c4b69a - Add the MMDBG_COPY_* flags and MmDbgCopyMemory's prototype.
- Add KdpCopyMemoryChunks and use it to handle virtual memory read/write (physical memory support still stubbed). The actual copy is still a hack and its only safeguard against invalid memory is still a simple check for NULL.
- Properly implement KdpReadVirtualMemory, KdpWriteVirtualMemory, KdpReadPhysicalmemory and KdpWritePhysicalmemory using KdpCopyMemoryChunks.
- Merge Timo's ReportFlags fix from the AMD64 branch.
- Implement KdpSysWriteMsr and KdpSysReadMsr for x86. SEH is commented as our GPF handler seems to swallow exceptions caused by accessing invalid MSRs.
- Change DataValue parameter of KdpSysReadIoSpace and KdpSysWriteIoSpace to PVOID to better match how it is used.

svn path=/trunk/; revision=43440
2009-10-13 19:45:40 +00:00
Dmitry Gorbachev bfb5499f5c - See if it is a multibyte code page.
- Remove check against zero.
- Fix comments, formatting.

svn path=/trunk/; revision=43439
2009-10-13 18:43:42 +00:00
Aleksey Bragin 352dfbf644 [rtl]
- Fix an out-of-bounds read in RtlpDidUnicodeToOemWorked.
See issue #4888 for more details.

svn path=/trunk/; revision=43438
2009-10-13 18:01:55 +00:00
Johannes Anderwald 89bda0c12e - Fix various bugs such as wrong function definitions, using of uninitialized variables
- Add macros which are not present in the WDK
- Check return type of synchronized interrupt routine
- Use PcHandlePropertyWithTable IPortPinWavePci
- Remove IServiceSink implementation from IPortWaveRt as it is a hack
- Add a small hack to IResource list implementation as prefast doesnt find decl of NumberOfEntries
- Fix build

svn path=/trunk/; revision=43437
2009-10-13 12:29:41 +00:00
Johannes Anderwald 09ef80af6b - Fix interface definition
svn path=/trunk/; revision=43436
2009-10-13 12:25:10 +00:00
Timo Kreuzer 6ed81cbca1 [Kd64] Copy KdVersionBlock like for x86, fix Value of ReportFlags member in KdpSetContextState for both x86 and amd64
svn path=/branches/ros-amd64-bringup/; revision=43435
2009-10-13 11:19:07 +00:00
Dmitry Gorbachev 05f6ac1ea8 Temporary hack to avoid linker errors when building with RosBE 1.5B1.
svn path=/trunk/; revision=43434
2009-10-13 03:34:29 +00:00
Timo Kreuzer 8b716f4e2d Implement KdpSysGetVersion, KdpGetStateChange, KdpSetContextState, KdpSysReadMsr, KdpSysWriteMsr, KdpSysReadControlSpace for amd64
svn path=/branches/ros-amd64-bringup/; revision=43433
2009-10-13 00:52:45 +00:00
Timo Kreuzer c615edc822 Add back some stuff that got lost in syncing
svn path=/branches/ros-amd64-bringup/; revision=43432
2009-10-13 00:33:04 +00:00
Dmitry Gorbachev dd487188b9 Check for error.
svn path=/trunk/; revision=43431
2009-10-12 23:52:56 +00:00
Dmitry Gorbachev bb99554339 Fix "array subscript is above array bounds" bug.
svn path=/trunk/; revision=43430
2009-10-12 23:52:33 +00:00
Timo Kreuzer 55f70cb149 On 64 bit sizeof(POOL_HEADER) != sizeof(LIST_ENTRY)! I have not checked how this stuff works, but this way it's not portable. Comment out the C_ASSERT to make it at least compile on 64 bit.
svn path=/branches/ros-amd64-bringup/; revision=43429
2009-10-12 23:32:44 +00:00
Timo Kreuzer ce254278da ARM3 64bit portability fixes.
svn path=/branches/ros-amd64-bringup/; revision=43428
2009-10-12 23:29:14 +00:00
Timo Kreuzer bb37e77d20 Implement/fix some amd64 Mm macros
svn path=/branches/ros-amd64-bringup/; revision=43427
2009-10-12 23:26:12 +00:00
Timo Kreuzer c2cbb8cae7 [NDK] add CBSTACK_FRAME_POINTER for amd64
svn path=/branches/ros-amd64-bringup/; revision=43426
2009-10-12 23:10:43 +00:00
Johannes Anderwald ce7bb91b16 - Add more types
svn path=/trunk/; revision=43425
2009-10-12 22:44:17 +00:00
Johannes Anderwald 303bae9dcb - Pointer / handle values should be printed with %p. Found by Christoph
- Add the sum / mixer node to the destination pin
- Only create MIXERVOLUME_DATA when there is an actual range
- Use unsigned members to calculate the range

svn path=/trunk/; revision=43424
2009-10-12 22:36:10 +00:00
Timo Kreuzer e98b824556 fix the kernel's rbuild file
svn path=/branches/ros-amd64-bringup/; revision=43423
2009-10-12 22:16:52 +00:00
Timo Kreuzer cb662b3fc9 Sync to trunk HEAD (r43416)
svn path=/branches/ros-amd64-bringup/; revision=43422
2009-10-12 22:00:47 +00:00
Timo Kreuzer 9e839804df svn repair attempt
svn path=/branches/ros-amd64-bringup/; revision=43421
2009-10-12 21:58:04 +00:00
Matthias Kupfer d5a7f4b694 experimental mouse click lock feature
svn path=/trunk/; revision=43420
2009-10-12 21:08:35 +00:00
Gregor Schneider 9928349968 [spider] Polish translation by Maciej Białas
svn path=/trunk/; revision=43419
2009-10-12 21:07:19 +00:00
Christoph von Wittich b4053fedd1 [SYSAUDIO]
-pass the correct amount of parameters to DPRINT

svn path=/trunk/; revision=43418
2009-10-12 21:06:21 +00:00
Matthias Kupfer 750be30cc9 - small fix for SystemParametersInfo-call for DragFullWindows
- disable incomplete UserPref settings

svn path=/trunk/; revision=43417
2009-10-12 21:02:25 +00:00
Aleksey Bragin 101f8fcb31 [kernel32]
- Remove incorrect null-termination of a string. Thanks to Russel for spotting.
See issue #4820 for more details.

svn path=/trunk/; revision=43416
2009-10-12 19:45:12 +00:00
Johannes Anderwald 417ebeb75f - Add missing types
svn path=/trunk/; revision=43415
2009-10-12 19:21:10 +00:00
Johannes Anderwald 0aa48e9268 [PORTCLS]
- Store MiniportStream & pin instance in subdevice descriptor
- Simplify irp handling code in class IIrpStream
- Rewrite CPortPinWaveCyclic code to handle property request. It now uses PcHandlePropertyWithTable, which calls the supported property request handlers via a callback. The code is now a lot cleaner as KsPropertyHandler peforms input & output length checks and also handles basic support requests
- Implement a Audio position handler for CPortPinWaveCyclic
- Use the IDmaChannel::CopyFrom when copying sound bytes from an dma buffer. Fixes recording of sound with KsStudio
- Make sure that the GUID_NULL handler only adds guid which are not already present in the guid array. Fixes duplicate entries of properties of Nodes in KsStudio
- Handle Basic Support requests in a default way when the driver doesnt provide a BasicSupport handler

svn path=/trunk/; revision=43414
2009-10-12 19:20:33 +00:00
Gregor Schneider c15e161f91 [sol], [spider]
- Allow to select a card back from all twelve possibilities (instead of four), related to bug #2535
[spider]
- Fix encoding of the Spanish resource file, thanks elhoir and gabriel_it

svn path=/trunk/; revision=43413
2009-10-12 18:52:44 +00:00
Stefan Ginsberg ed7f3daf87 - Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.
svn path=/trunk/; revision=43412
2009-10-12 18:40:18 +00:00