Commit Graph
42088 Commits
Author SHA1 Message Date
Aleksey Bragin 8d6e247698 [usetup]
- Change "MBR" to "bootsector", as proposed in bug 4356 by Michael Trausch. Changed languages are English and Russian.

svn path=/trunk/; revision=43870
2009-10-31 13:31:28 +00:00
Johannes Anderwald 650fc71047 - Fix retrieving audio position
svn path=/trunk/; revision=43869
2009-10-31 10:38:25 +00:00
Johannes Anderwald 46c8396918 - Implement looped streaming (needed for dsound bringup)
- Implement GetPosition handler for looped streaming, WIP

svn path=/trunk/; revision=43868
2009-10-31 08:26:26 +00:00
Cameron Gutman a51c149046 - Add more cases to TCPTranslateError
- Fix a header typo

svn path=/trunk/; revision=43867
2009-10-31 07:34:27 +00:00
Timo Kreuzer 7e2be021f2 Add a number of official win32k pool tags, taken from https://blogs.technet.com/yongrhee/archive/2009/06/24/pool-tag-list.aspx
svn path=/trunk/; revision=43866
2009-10-31 02:10:51 +00:00
Stefan Ginsberg c32d2da078 ...and fix non-KD build for the rest of you.
svn path=/trunk/; revision=43865
2009-10-31 01:11:43 +00:00
Cameron Gutman a06fc827da - Make sure the socket is still open before entering oskittcp
- Remove an unused parameter from OskitTCPBind
 - Return a status value from OskitTCPGetAddress
 - Add debug print for unhandled error codes

svn path=/trunk/; revision=43864
2009-10-31 01:05:31 +00:00
Stefan Ginsberg 82bd7858d1 - Add 'simple' implementation of MmDbgCopyMemory to read/write virtual memory in a somewhat safe way (still no support for physical memory). Properly implement KdpCopyMemoryChunks as a wrapper around MmDbgCopyMemory and make most of the remaining unsafe copies use it instead of RtlCopyMemory. This fixes most of the remaining crashes during KD debugging as WinDbg/KD relies on the kernel support to handle bad addresses.
- Stub out the remaining missing global variables for the debugger data block -- fixes some cases of WinDbg failures and gives it a chance to handle errors instead of failing on a NULL read. Several of these variables are for functionality we don't yet implement, so I tried to put them where they are "least wrong". Everything besides the MmLoadedUserImageList variable is left unitialized -- KD should mostly be able to handle this properly.
- Define correctly sized KDDEBUGGER_DATA64 for our kernel (needs to be done in a better way).

svn path=/trunk/; revision=43863
2009-10-31 01:02:35 +00:00
Stefan Ginsberg c4d8068980 - Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
svn path=/trunk/; revision=43862
2009-10-31 00:39:16 +00:00
Cameron Gutman 43e17b4127 - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
svn path=/trunk/; revision=43861
2009-10-31 00:24:38 +00:00
Samuel Serapion 67a2948647 Please don't cast NULL to an integer type. Fixes building this module.
svn path=/branches/ros-amd64-bringup/; revision=43860
2009-10-30 23:51:29 +00:00
Cameron Gutman f28d99cab1 - Remove some junk code which does nothing but crash
svn path=/trunk/; revision=43859
2009-10-30 23:39:13 +00:00
Samuel Serapion c3c5459ccf Fix warnings.
svn path=/branches/ros-amd64-bringup/; revision=43858
2009-10-30 23:02:03 +00:00
Samuel Serapion 45b0f2f1ec Remove unneeded casts. Fix build.
svn path=/branches/ros-amd64-bringup/; revision=43857
2009-10-30 22:47:30 +00:00
Stefan Ginsberg bb55e9c572 - Fix leftover
svn path=/trunk/; revision=43856
2009-10-30 22:15:50 +00:00
Stefan Ginsberg e90168e57e - Restructure HAL bus routines a bit.
- Fix some incorrect HAL types and add some that were missing.

svn path=/trunk/; revision=43855
2009-10-30 22:07:26 +00:00
Hervé Poussineau 36c3408fb1 [freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
svn path=/trunk/; revision=43854
2009-10-30 21:48:21 +00:00
Johannes Anderwald 3fa52b7b78 - Check Input Parameter (fixes a skype crash)
svn path=/trunk/; revision=43853
2009-10-30 18:51:40 +00:00
Samuel Serapion 5844aa887a Add missing files. Kernel32 now links.
svn path=/branches/ros-amd64-bringup/; revision=43852
2009-10-30 18:48:45 +00:00
Samuel Serapion 79c15bb270 Work around broken linker by putting mingw support libs before module library dependencies.
svn path=/branches/ros-amd64-bringup/; revision=43851
2009-10-30 17:19:56 +00:00
Johannes Anderwald 71c02de01b - Fix a broken cast (x64 compability)
svn path=/trunk/; revision=43850
2009-10-30 15:36:55 +00:00
Timo Kreuzer e72570afce [WIN32K]
EngCopyBits: Use goto cleanup / break instead of code duplication, fix leaking a bits lock, if the rect function fails, remove abundant MouseSafetyOnDrawEnd

svn path=/trunk/; revision=43849
2009-10-30 15:22:57 +00:00
Timo Kreuzer 38a5ae755f [FORMATTING]
- apply consistent indentattion of 4 spaces
- remove () from return statements

svn path=/trunk/; revision=43848
2009-10-30 15:00:08 +00:00
Samuel Serapion dd7147de04 Fix gdi32 build for real.
svn path=/branches/ros-amd64-bringup/; revision=43847
2009-10-30 14:24:42 +00:00
Timo Kreuzer 0fcc297839 [WIN32K]
Lock the DIB palette in NtGdiSetDIBitsToDeviceInternal instead of passing NULL to EXLATEOBJ_vInitialize. Fixes LightBox Editor regression (bug 4913 )

svn path=/trunk/; revision=43846
2009-10-30 14:02:42 +00:00
Michael Martin 95e552de39 [msi]
- Schedule a rename operation also for ERROR_USER_MAPPED_FILE. Prevents msi from aborting an install when attempting to overwrite font files. Open Office should now install successfully.

svn path=/trunk/; revision=43845
2009-10-30 12:53:19 +00:00
Cameron Gutman dbd53d6738 - Don't convert the host name to lower case
svn path=/trunk/; revision=43844
2009-10-30 04:29:38 +00:00
Samuel Serapion ed369f42b2 Temporarily remove mmebuddy dependencies.
svn path=/branches/ros-amd64-bringup/; revision=43843
2009-10-30 00:36:40 +00:00
Samuel Serapion af0a5ed498 Fix gdi32 build.
svn path=/branches/ros-amd64-bringup/; revision=43842
2009-10-30 00:24:32 +00:00
Samuel Serapion 6a8b16a69b Fix some prototypes.
svn path=/branches/ros-amd64-bringup/; revision=43841
2009-10-30 00:22:42 +00:00
Samuel Serapion b6656a39dd Fix LOGBRUSH definition.
svn path=/branches/ros-amd64-bringup/; revision=43840
2009-10-29 23:25:11 +00:00
Samuel Serapion c7675b0cac Fix Build.
svn path=/branches/ros-amd64-bringup/; revision=43839
2009-10-29 22:44:55 +00:00
Samuel Serapion 926bcb9721 Fix csrss build.
svn path=/branches/ros-amd64-bringup/; revision=43838
2009-10-29 22:41:26 +00:00
Samuel Serapion 5c63222d8a Fix comctl32 build and potential bug.
svn path=/branches/ros-amd64-bringup/; revision=43837
2009-10-29 22:36:15 +00:00
Samuel Serapion b7aa79a898 Fix avicap32 build.
svn path=/branches/ros-amd64-bringup/; revision=43836
2009-10-29 22:15:19 +00:00
Timo Kreuzer c9514d7561 Fix merge artifact, spotted by encoded
svn path=/branches/ros-amd64-bringup/; revision=43835
2009-10-29 21:49:28 +00:00
Cameron Gutman 92f8240011 - Header updates for winsock rewrite
svn path=/trunk/; revision=43834
2009-10-29 20:56:47 +00:00
Stefan Ginsberg 9f6cba21d3 - Missed this file
svn path=/trunk/; revision=43833
2009-10-29 20:10:29 +00:00
Stefan Ginsberg be8d9f285f - INITIAL_STALL_COUNT makes more sense in decimal (100) than hex (0x64) so define it that way.
- Protect CMOS access with the CMOS spinlock.
- Add CMOS initialization to set up the default value of the CMOS century byte offset (not used yet).
- Stub out profile interrupt support in HAL. Register and stub out the profile interrupt handler, but don't handle it yet as vital parts of the rest of the implementation is missing.
- Fix several bugs in the kernel profile implementation:
  - Don't hardcode to PROFILE_LEVEL when raising IRQL : HAL can override this, so use KiProfileIrql. Also, starting/stopping profile interrupts must be done at the profile IRQL, so don't lower it back before calling HAL, which is now enabled.
  - Fix KeSet/QueryIntervalProfile to properly set/query profile intervals through HAL -- pass the correct structures and handle the ProfileAlignmentFixup case properly, and call HAL when setting the timer interval as the interval may be overridden by it.
  - KeStartProfile returns BOOLEAN to tell if the profile was started or not, just like KeStopProfile.
- Make the interrupt implementation more portable for non-PIC architectures.
- Fix HalSystemVectorDispatchEntry; it returns a type (UCHAR), not TRUE/FALSE (BOOLEAN).
- Begin implementing the framework for querying HAL resource usage (keeping track of internal address space and vector registrations/usage).

svn path=/trunk/; revision=43832
2009-10-29 19:58:41 +00:00
Ged Murphy dca090ba4c undef min & max so they don't override the numeric_limits template methods
svn path=/trunk/; revision=43831
2009-10-29 18:54:21 +00:00
Sylvain Petreolle 9127411fdf silence debug
svn path=/trunk/; revision=43830
2009-10-29 18:28:27 +00:00
Stefan Ginsberg 24bb32e038 - Re-enable some debug prints for unsupported hardware features and make them consistent.
svn path=/trunk/; revision=43829
2009-10-29 18:26:22 +00:00
Stefan Ginsberg bec72fa6a7 - Implement the ThreadDescriptorTableEntry case for NtQueryInformationThread. This is required for the GetThreadSelectorEntry routine used by user mode debuggers.
- #if out some x86-only LDT code from PS and move it to psldt.c.

svn path=/trunk/; revision=43827
2009-10-29 10:04:15 +00:00
Johannes Anderwald 7590cdb16d - Silence debug garbage
svn path=/trunk/; revision=43826
2009-10-29 08:28:03 +00:00
Timo Kreuzer 0998c5e4ff Partly implement KiDebugTrapOrFault. Single stepping now works.
svn path=/branches/ros-amd64-bringup/; revision=43824
2009-10-28 23:54:07 +00:00
Dmitry Gorbachev e5ca9dd8e3 Remove byte order mark.
svn path=/trunk/; revision=43823
2009-10-28 23:53:50 +00:00
Timo Kreuzer 31d9db9bf3 Comment out __ldmxcsr in KiRestoreProcessorControlState, as it results in a GPF. Continuing now works again.
svn path=/branches/ros-amd64-bringup/; revision=43822
2009-10-28 23:21:13 +00:00
Dmitry Gorbachev f2e942714d Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.
svn path=/trunk/; revision=43821
2009-10-28 23:20:28 +00:00
Timo Kreuzer 39f6b5c9d3 partly implement KdpSysWriteControlSpace
svn path=/branches/ros-amd64-bringup/; revision=43820
2009-10-28 22:38:42 +00:00
Stefan Ginsberg b0688f07ec - Merge 43818 to trunk.
- Don't return any data for DbgKdSetBusDataApi either. 

svn path=/trunk/; revision=43819
2009-10-28 21:49:58 +00:00