Commit Graph
39450 Commits
Author SHA1 Message Date
Timo Kreuzer daab9e149d [KD64]
- KdpSetContext: don't include the CONTEXT data in the reply. WinDbg doesn't like that.

svn path=/branches/ros-amd64-bringup/; revision=43818
2009-10-28 21:36:00 +00:00
Timo Kreuzer 8c70b1e730 Remove fail point support from swprintf, too. Yay boot!
svn path=/branches/ros-amd64-bringup/; revision=43797
2009-10-27 22:56:22 +00:00
Timo Kreuzer c9c20c50ef Kill floating point from RTL sprintf. It was leading to crashing freeldr when compiled with never gccs.
svn path=/branches/ros-amd64-bringup/; revision=43792
2009-10-27 14:31:16 +00:00
Timo Kreuzer 1e6d45e036 [KDCOM]
- In case of failing to receive a part of the packet, return the status to the caller instead of continuing.

svn path=/branches/ros-amd64-bringup/; revision=43779
2009-10-26 12:51:26 +00:00
Timo Kreuzer e4ccd93037 - Fix definition of KdDebuggerNotPresent for gcc, the MS definition is broken, don't know if it's needed that way for msvc.
svn path=/branches/ros-amd64-bringup/; revision=43777
2009-10-26 12:22:32 +00:00
Timo Kreuzer d65a5407b5 [KDCOM]
- take the MessageHeader length from MaximumLength field instead of depending on the packet type
- Context -> KdContext
- remove redundant return

svn path=/branches/ros-amd64-bringup/; revision=43776
2009-10-26 12:09:05 +00:00
Daniel Reimer 0abf32cea7 Fixed build with MinGW-w64 4.4.3
svn path=/branches/ros-amd64-bringup/; revision=43775
2009-10-26 12:07:33 +00:00
Timo Kreuzer 6b92b26b8e [KDCOM]
For unknown reasons it's not enough to check LSR if the port is ready to receive or not. Adding additional port reads improves the reliability of the data massively. Now it's possible to use kdcom on windows XP!

svn path=/branches/ros-amd64-bringup/; revision=43770
2009-10-26 03:24:03 +00:00
Timo Kreuzer 7be05b3ec6 [KDCOM]
- Check the received PacketId
- Add retry count to KdSendPacket
- instantly return resend packets

svn path=/branches/ros-amd64-bringup/; revision=43768
2009-10-26 03:16:46 +00:00
Timo Kreuzer 39dcdc086e [KDCOM]
- KdpDbgPrint -> KDDBGPRINT
- enable KdDebuggerNotPresent change

svn path=/branches/ros-amd64-bringup/; revision=43766
2009-10-26 02:11:03 +00:00
Timo Kreuzer 0076b6520b revert 43682, fix kdcom build
svn path=/branches/ros-amd64-bringup/; revision=43763
2009-10-25 23:28:26 +00:00
Timo Kreuzer cc5c0a0816 Merge trunk head (r43756)
svn path=/branches/ros-amd64-bringup/; revision=43759
2009-10-25 22:13:11 +00:00
Timo Kreuzer 87ab5d0e6d - Pass pointer to debugprint function to the kernel in LoaderBlock->u.I386.CommonDataArea
- comment out __lldt

svn path=/branches/ros-amd64-bringup/; revision=43757
2009-10-25 21:47:53 +00:00
Christoph von Wittich e818f18502 -sync rsaenh_winetest with wine 1.1.32
svn path=/trunk/; revision=43756
2009-10-25 21:16:33 +00:00
Christoph von Wittich a0951dacc4 -sync rsaenh with wine 1.1.32
svn path=/trunk/; revision=43755
2009-10-25 21:16:15 +00:00
Christoph von Wittich 14c61c9004 partial kernel32 GetLocaleInfo sync to wine 1.1.32
svn path=/trunk/; revision=43754
2009-10-25 21:02:58 +00:00
Christoph von Wittich cec5cdfa8d -sync user32_winetest with wine 1.1.32
svn path=/trunk/; revision=43752
2009-10-25 20:32:13 +00:00
Christoph von Wittich 0ed9c0cca3 -sync msxml3 with wine 1.1.32
svn path=/trunk/; revision=43751
2009-10-25 20:21:51 +00:00
Christoph von Wittich c7b2548293 -sync netapi32 with wine 1.1.32
svn path=/trunk/; revision=43750
2009-10-25 19:24:08 +00:00
Gregor Schneider 5b1a765b54 [win32k] Stub out page to device space conversion, fixes three more gdi32 mapping winetests
svn path=/trunk/; revision=43749
2009-10-25 18:49:08 +00:00
Johannes Anderwald 77c67054c7 - Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently not recognizes duplicate audio driver entries
svn path=/trunk/; revision=43748
2009-10-25 18:22:03 +00:00
Johannes Anderwald acd8b06824 - Partially sync winmm
- Remove unused code
- Fix function headers

svn path=/trunk/; revision=43747
2009-10-25 17:54:50 +00:00
Christoph von Wittich 8fd3137277 partially sync kernel32 profile to wine 1.1.32
svn path=/trunk/; revision=43746
2009-10-25 17:28:35 +00:00
Gregor Schneider cae8c23a9f [win32k] GetTransform:
- Add support for more transforms
- Fix return value for invalid/unsupported transform types
- Fixes 10 gdi32 mapping winetests

svn path=/trunk/; revision=43745
2009-10-25 17:23:19 +00:00
Christoph von Wittich abc34f7dad -sync kernel32_winetest with wine 1.1.32
svn path=/trunk/; revision=43744
2009-10-25 16:21:40 +00:00
Christoph von Wittich 01a9e7493e add define for LOCALE_RETURN_GENITIVE_NAMES
svn path=/trunk/; revision=43743
2009-10-25 16:20:45 +00:00
Christoph von Wittich b882f99c77 better stub for RtlQueryHeapInformation (taken from wine)
svn path=/trunk/; revision=43742
2009-10-25 16:20:00 +00:00
Stefan Ginsberg eae6521fb2 - DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Protocol 6 uses the DBGKD_ANY_WAIT_STATE_CHANGE structure which is sized according to the largest control-report structure (AMD64_DBGKD_CONTROL_REPORT currently), and is larger than DBGKD_WAIT_STATE_CHANGE64 on x86. This worked because our DBGKD_WAIT_STATE_CHANGE32/64 structures contained incorrect DBGKD_CONTROL_REPORT (used) and CONTEXT (unused) members that sized up the wait-state structure to pass WinDbg's length verification! It actually becomes larger than DBGKD_ANY_WAIT_STATE_CHANGE, but WinDbg only seems bail out only if the structure is too small. Remove the incorrect members from the protocol 5 structures and change to DBGKD_ANY_WAIT_STATE_CHANGE everywhere.
- Correct the value of SIZE_OF_FX_REGISTERS -- it was 4 times too low which resulted in KeContextToTrapFrame not properly clearing out the XMM register area. Correct the define and move it out from ke.h to x86's ketypes.h and use it in the FXSAVE format structure. Also remove the IOPM definitions from ke.h as they have been in the NDK for a while.
- KD uses STRINGs, not ANSI_STRINGs -- they are the same thing, but let's be consistent.
- ExceptionRecord32To64 should be available for both 32 and 64 bit builds (and it shouldn't be a forceinline). Get rid of CopyExceptionRecord and determine if we need to convert or can just copy it directly instead.
- Use _WIN64 instead of _M_AMD64 when determining if we need to set the DBGKD_VERS_FLAG_PTR64 flag.
- Don't check Nt/DbgQueryDebugFilterState for zero or nonzero -- it actually returns TRUE, FALSE or STATUS_INVALID_PARAMETER_1! Check for != TRUE in preparation for proper implementation of NtSet/QueryDebugFilterState.
- Fix Format parameter of DbgPrintReturnControlC -- it is const like the other DbgPrint* routines.
- Be consistent with the types used in debug.c and don't set local variables to zero if we are going to return to caller -- this doesn't seem to be required anymore. 
- Fix DebugService and DebugService2: DebugService should take a ULONG followed by 4 pointers and DebugService2 doesn't return anything.
- Use ZwCurrentProcess() instead of -1 or 0xFFFFFFFF (which is incorrect for 64-bit) for the ProcessId parameter of DbgLoad/UnloadImageSymbols to clarify what is being passed. Don't use ZwCurrentProcess() in KeBugCheckWithTf for the pointer parameter of DbgUnLoadImageSymbols either. Use MAXULONG_PTR casted to PVOID instead.
- Use better named and sized variables in KdpTrap for setting the "return register" in the caller's CONTEXT.
- Correct and clarify the comment documenting under what conditions we pass user mode exceptions to the kernel debugger.

svn path=/trunk/; revision=43741
2009-10-25 15:56:38 +00:00
Christoph von Wittich 522564186c -sync cabinet with wine 1.1.32
svn path=/trunk/; revision=43740
2009-10-25 13:45:15 +00:00
Timo Kreuzer 067454570d [KDCOM]
- Compare checksum after retreiving the full packet
- simplify code

svn path=/branches/ros-amd64-bringup/; revision=43739
2009-10-25 11:55:04 +00:00
Timo Kreuzer 1987b47110 [KDCOM]
- Check the PacketType only after the whole message was received and just skip the message and restart when it's not what we wanted.

svn path=/branches/ros-amd64-bringup/; revision=43738
2009-10-25 11:37:17 +00:00
Christoph von Wittich 206c0a4f49 don't crash in msi install winetest
svn path=/trunk/; revision=43737
2009-10-25 11:14:03 +00:00
Christoph von Wittich 83e2004b73 -sync msi_winetest with wine 1.1.32
svn path=/trunk/; revision=43736
2009-10-25 11:06:38 +00:00
Christoph von Wittich b7a13d7347 -sync msi with wine 1.1.32
svn path=/trunk/; revision=43735
2009-10-25 11:06:09 +00:00
Giannis Adamopoulos 6562d206a7 Sync DrawText funtions with wine 1.1.32
Fixes all user32 text tests

svn path=/trunk/; revision=43734
2009-10-25 09:32:01 +00:00
Christoph von Wittich 88d1bac025 partial wine sync to 1.1.32:
wininet: Avoid accessing uninitialized memory.

svn path=/trunk/; revision=43733
2009-10-25 08:52:54 +00:00
Cameron Gutman 6d9bb99627 - Fix sending malformed ICMP packets because we read the wrong length from the wrong address in the buffer
- Fix the sequence number stored in the packet
 - Fix potential null pointer freeing
 - tracert partially works now (Setting TTL isn't implemented yet)

svn path=/trunk/; revision=43732
2009-10-25 04:30:28 +00:00
Cameron Gutman fcb80fec6e - Start the sequence number at 1 instead of 0
svn path=/trunk/; revision=43731
2009-10-25 03:48:15 +00:00
Aleksey Bragin 0f288316c0 [fastfat_new]
- Fix FF_Free warning.

svn path=/trunk/; revision=43725
2009-10-24 21:05:42 +00:00
Stefan Ginsberg f8fd318e35 - Fix a sneaky breakage of MSVC built kernels. "i386" is a gcc define and we don't define it in the makefiles.
svn path=/trunk/; revision=43724
2009-10-24 20:44:43 +00:00
Cameron Gutman ebaa2b818d - Implement SetIpNetEntry in iphlpapi and InfoTdiSetArptableMIB in tcpip
- Added buffer size checks for InfoTdiSetRoute
 - "arp -s" works now

svn path=/trunk/; revision=43723
2009-10-24 20:39:41 +00:00
Stefan Ginsberg ff318c3207 - Don't put PAGED_CODE() before variable declarations -- this makes MSVC very, very sad. Reformat and clean up the code a bit too.
svn path=/trunk/; revision=43722
2009-10-24 20:35:10 +00:00
Daniel Reimer 425c1da665 chinese Translations by Elton Chung.
svn path=/trunk/; revision=43721
2009-10-24 19:27:51 +00:00
Daniel Reimer 9848a8409d Sync wordpad and winhlp32 to Wine 1.1.31
Update 3rd Party Files.txt

svn path=/trunk/; revision=43719
2009-10-24 17:23:52 +00:00
Sylvain Petreolle cba092a5a3 - Add reg.exe from Wine 1.1.31
svn path=/trunk/; revision=43718
2009-10-24 15:23:45 +00:00
Sylvain Petreolle 3a8773297f add missing checks
fixes winmm:mixer crash

svn path=/trunk/; revision=43717
2009-10-24 15:13:30 +00:00
Dmitry Chapyshev e7fe9eb96e - Fix Russian translation
svn path=/trunk/; revision=43716
2009-10-24 14:34:11 +00:00
Kamil Hornicek 0601bc5633 - merge some of the more meaningful stuff from the reactx branch
svn path=/trunk/; revision=43715
2009-10-24 14:09:48 +00:00
Dmitry Chapyshev 580d28894c - Add reg.exe from Wine 1.1.31
svn path=/trunk/; revision=43714
2009-10-24 13:32:45 +00:00
Dmitry Chapyshev 51a5e344d6 - Add runonce.exe to bootcd
svn path=/trunk/; revision=43712
2009-10-24 13:15:38 +00:00