Dmitry Gorbachev
93f8f62632
Fix translations. Patch by Mario Kacmar. Bug #3955 .
...
svn path=/trunk/; revision=38457
2008-12-29 14:26:01 +00:00
Christoph von Wittich
ea025bdb03
fix doxygen @name for ExpSystemErrorHandler patch by <aspotashev at gmail.com>
...
See issue #3963 for more details.
svn path=/trunk/; revision=38439
2008-12-29 06:24:46 +00:00
Stefan Ginsberg
81484cd1c5
- IoStartPacket: Use the correct IRQL when releasing the Cancel Spinlock
...
svn path=/trunk/; revision=38397
2008-12-27 19:49:29 +00:00
Andrew Munger
22aa9ace50
Clarify comment.
...
svn path=/trunk/; revision=38382
2008-12-27 11:55:43 +00:00
Andrew Munger
ae171d25d2
Return mostly correct information so taskmgr doesn't just report zero for "System Cache".
...
svn path=/trunk/; revision=38381
2008-12-27 11:44:21 +00:00
Aleksey Bragin
769ff5b164
- Fix build.
...
svn path=/trunk/; revision=38380
2008-12-27 11:44:18 +00:00
Aleksey Bragin
e73f968c8a
- Implement query case of SystemTimeAdjustmentInformation.
...
- Implement a better stub for setting case of SystemTimeAdjustmentInformation.
svn path=/trunk/; revision=38375
2008-12-27 10:58:46 +00:00
Aleksey Bragin
1015905d06
- Fix one more typo in the IoBuildPartialMdl code leading to ignore of TargetMdl flags and always setting MDL_ALLOCATED_FIXED_SIZE and MDL_ALLOCATED_MUST_SUCCEED even if a caller did not want so. Thanks to Alex Ionescu.
...
svn path=/trunk/; revision=38361
2008-12-26 21:57:11 +00:00
Aleksey Bragin
65dc6d8f5c
- Fix broken behavior of IoBuildPartialMdl, which instead of copying 4 flags from a source mdl to a target one was always setting all of them, thus often making resultant mdl unusable.
...
svn path=/trunk/; revision=38360
2008-12-26 20:34:40 +00:00
Christoph von Wittich
82cffd5af5
fix some more typos
...
svn path=/trunk/; revision=38345
2008-12-25 12:27:47 +00:00
Dmitry Gorbachev
95e0371f4f
Do not pop and push the same reg.
...
svn path=/trunk/; revision=38286
2008-12-22 23:44:15 +00:00
Stefan Ginsberg
5a52daeb1b
- Less hack, more assert
...
svn path=/trunk/; revision=38275
2008-12-22 19:55:23 +00:00
Aleksey Bragin
4054e57321
- Fix registry lock leakages in CmpDoOpen in failure cases.
...
- Add support for a special case of opening existing (cached) KCBs by CmpDoOpen.
- Specify a flag for that case in one specific case inside CmpParseKey, which allows us to get rid of the "\\REGISTRY" hack inside the code, fixes the 'Kcb->RefCount == 1' assertion failure, and certainly fixes registry-related regression tests. There might be some side effects in theory, but since this hack only applied to the root key, they shouldn't happen. Thanks to Stefan for helping in debugging and a testcase.
svn path=/trunk/; revision=38272
2008-12-22 18:47:38 +00:00
Aleksey Bragin
35fab756b4
- Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.
...
- Add CmUnloadKey prototype.
svn path=/trunk/; revision=38271
2008-12-22 18:17:23 +00:00
Aleksey Bragin
c8d9e123b7
- Fix KCB ref leaks in Cm parse routine (thanks Stefan).
...
svn path=/trunk/; revision=38269
2008-12-22 13:35:08 +00:00
Stefan Ginsberg
6b3bec6873
- Uhm...don't pool free user handles, and don't hand them to ObDereferenceObject
...
svn path=/trunk/; revision=38242
2008-12-21 18:16:12 +00:00
Michael Martin
13ee594843
- Add missing break in ExDereferenceCallBackBlock so ExReleaseRundownProtection does not get called more than once.
...
svn path=/trunk/; revision=38223
2008-12-21 06:01:23 +00:00
Michael Martin
f082d72190
- As per http://msdn.microsoft.com/en-us/library/ms802952.aspx , call ExDoCallBack with correct parameters.
...
svn path=/trunk/; revision=38222
2008-12-21 05:08:18 +00:00
Timo Kreuzer
327684fd1c
Fix usage of PNTSTATUS instead of NTSTATUS in NT_SUCCESS, which could result in IopCheckVpbMounted returning a wrong status code
...
svn path=/trunk/; revision=38121
2008-12-16 18:12:13 +00:00
Stefan Ginsberg
1258b49708
- Add missing break (<3 kjk <3)
...
svn path=/trunk/; revision=38120
2008-12-16 17:51:57 +00:00
Stefan Ginsberg
2521c1979a
- Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl instead
...
svn path=/trunk/; revision=38117
2008-12-16 15:25:51 +00:00
Michael Martin
1605d036fe
- Use volatile with PagesLocked and MdlAddress. Fixes bug #3674 .
...
- For safety may have to declare all variable used in except this way.
svn path=/trunk/; revision=38077
2008-12-14 12:14:00 +00:00
Dmitry Gorbachev
8a8705ed19
Remove workaround for GCC 4.4.0 bug, it is already fixed.
...
svn path=/trunk/; revision=38043
2008-12-13 15:49:41 +00:00
Timo Kreuzer
d6326245c7
remove useless circle definition _setjmp -> setjmp -> _setjmp
...
svn path=/trunk/; revision=38032
2008-12-12 19:27:14 +00:00
Aleksey Bragin
f611b44733
Cary Xiao" <xiaowave@gmail.com>
...
- Add some code to complete breakpoint of gdbstub.
See issue #1817 for more details.
svn path=/trunk/; revision=38024
2008-12-11 19:44:56 +00:00
Aleksey Bragin
2794dbc70a
- Impersonation level should be indeed higher that the lowest one. Fix the check accordingly. Spotted by Dmitry Gorbachev and GCC.
...
See issue #3939 for more details.
svn path=/trunk/; revision=37998
2008-12-10 15:24:55 +00:00
Aleksey Bragin
68eb71cda7
- Move KeQueryRuntimeThread declaration to winddk.h (spotted by Stefan Ginsberg).
...
svn path=/trunk/; revision=37935
2008-12-08 13:13:36 +00:00
Aleksey Bragin
7b11a5fcdb
- Implement KeQueryRuntimeProcess for querying total user/kernel times of a process.
...
- Use it for obtaining idle process times, and per-process information in QuerySystemInformation routines.
- Fix incorrect multiplier being applied to user/kernel times (should be KeMaximumIncrement instead of 100000).
- Slightly rework SystemProcessorPerformanceInformation to provide valid data.
- This fixed a bug existing since revision 24148, 2 years ago.
See issue #2329 for more details.
svn path=/trunk/; revision=37934
2008-12-08 12:57:53 +00:00
Dmitry Gorbachev
32580ec32a
Silence GCC warnings.
...
svn path=/trunk/; revision=37919
2008-12-07 21:52:22 +00:00
Stefan Ginsberg
cdb295c734
- Change more ASSERT(FALSE) to KeBugCheck(MEMORY_MANAGEMENT) so it dies on release build too
...
svn path=/trunk/; revision=37914
2008-12-07 18:05:28 +00:00
Aleksey Bragin
5abd794cd0
- Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.
...
svn path=/trunk/; revision=37905
2008-12-06 19:35:54 +00:00
Timo Kreuzer
72d7ea8bc3
rename section "init" to "INIT", so that pefixup will actually recognize it
...
svn path=/trunk/; revision=37901
2008-12-06 18:25:06 +00:00
Aleksey Bragin
8c52058f73
- Fix FsRtlFastCheckLockForRead and Write function prototypes.
...
svn path=/trunk/; revision=37843
2008-12-04 11:12:42 +00:00
Dmitry Gorbachev
987313245b
Fix them second time.
...
svn path=/trunk/; revision=37841
2008-12-04 00:55:15 +00:00
Dmitry Gorbachev
5bbb02373a
Fix Ke386Get(Global|Local|Interrupt)DescriptorTable, Ke386GetTr.
...
svn path=/trunk/; revision=37840
2008-12-03 22:24:29 +00:00
Dmitry Gorbachev
9791da2e85
Trying to fix...
...
svn path=/trunk/; revision=37839
2008-12-03 18:04:26 +00:00
Dmitry Gorbachev
774b7483da
Remove stray semicolons, GCC gratias.
...
svn path=/trunk/; revision=37835
2008-12-03 17:39:55 +00:00
Dmitry Gorbachev
c920f222c0
Fix GCC complaints about uninitialized variables (bug #3912 ).
...
svn path=/trunk/; revision=37834
2008-12-03 17:38:56 +00:00
Dmitry Gorbachev
d202dab4fa
Silence compiler warnings (3/11).
...
svn path=/trunk/; revision=37825
2008-12-03 17:28:59 +00:00
Dmitry Gorbachev
44c8aa557c
Silence compiler warnings (2/11).
...
svn path=/trunk/; revision=37824
2008-12-03 17:28:33 +00:00
Colin Finck
c00c841bd4
Revert my changes in r37808.
...
Reenable testing on undefined properties, they are treated as being empty now. This feature got lost when moving the <if> block parsing entirely to rbuild in r34852.
Should fix the Release build properly _with_ touching rbuild :-)
svn path=/trunk/; revision=37811
2008-12-02 19:05:11 +00:00
Colin Finck
61eedb351a
KDBG needs DBG to be set, I can't imagine any useful situation for KDBG without DBG.
...
Change the <if> logic in ReactOS-general.rbuild (and ReactOS-arm.rbuild for the ARM guys) accordingly. This also supersedes DBG_OR_KDBG, which never worked properly for Release builds anyway.
Should fix the Release build without touching rbuild itself :-)
svn path=/trunk/; revision=37808
2008-12-02 11:38:23 +00:00
Stefan Ginsberg
61106bdf73
- Don't redefine PKSYSTEM_ROUTINE
...
- Don't include x86 headers for all architectures
- Don't use system_header
- Add a note for ARM team
svn path=/trunk/; revision=37795
2008-12-01 16:27:58 +00:00
Stefan Ginsberg
6d811e8712
- Get rid of DDK's dependency on windef.h and winnt.h
...
- Clean up, fix, and add missing types to ntdef.h/ntifs.h/winddk.h/wdm.h/ntpoapi.h
- Add ntimage.h and use it in rossym and NDK
- Fix a gcc compatibility issue -- some internal NT structures have their pointer types defined in the DDK headers, but we define them along with the "struct" type when defining the full structure. MSVC is okay with this double definition, but gcc treats it as an error (hidden by system_header). Only define the "struct" type when declaring the full structure, making it compatible with both compilers.
- Also fix/add some types and header guards in NDK
- Clean up ks/portcls/drmk headers
- Fix incorrect types for some KS APIs (msdn is wrong for these) and add missing header guards
- Also, remove system_header (more of this coming up)
svn path=/trunk/; revision=37792
2008-12-01 15:12:23 +00:00
KJK::Hyperion
1bd07ee187
modified include/reactos/probe.h
...
Workaround for gcc 4.1.3. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7
modified ntoskrnl/include/internal/mm.h
gcc 4.3.2 doesn't like to be told to inline MmAcquirePageListLock
modified ntoskrnl/include/internal/probe.h
Cleaning up after TSVN's buggy "apply patch"
modified subsystems/win32/win32k/ntuser/message.c
Silence a gcc 4.3.2 warning (possibly incorrectly)
modified dll/directx/ddraw/ddraw.rbuild
modified dll/win32/gdi32/gdi32.rbuild
modified dll/win32/kernel32/kernel32.rbuild
modified dll/win32/psapi/psapi.rbuild
modified dll/win32/setupapi/setupapi.rbuild
modified dll/win32/syssetup/syssetup.rbuild
modified dll/win32/user32/user32.rbuild
modified drivers/input/kbdclass/kbdclass.rbuild
modified drivers/input/mouclass/mouclass.rbuild
modified drivers/network/afd/afd.rbuild
modified drivers/network/tcpip/tcpip.rbuild
modified lib/rtl/rtl.rbuild
modified subsystems/win32/win32k/win32k.rbuild
modified subsystems/win32/win32k/objects/gdiobj.c
gcc 4.1.3 workarounds. See embedded comments
modified base/services/eventlog/eventlog.h
modified dll/win32/advapi32/advapi32.h
Removed superfluous includes of pseh/pseh.h
modified dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified dll/directx/ddraw/Ddraw/ddraw_main.c
modified dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified dll/directx/ddraw/Ddraw/GetCaps.c
modified dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified dll/directx/ddraw/main.c
modified dll/directx/ddraw/rosdraw.h
modified dll/directx/ddraw/Surface/surface_main.c
ddraw migrated to PSEH 2.0
modified dll/win32/gdi32/include/precomp.h
modified dll/win32/gdi32/misc/misc.c
modified dll/win32/gdi32/objects/bitmap.c
gdi32 migrated to PSEH 2.0
modified dll/win32/kernel32/except/except.c
modified dll/win32/kernel32/file/find.c
modified dll/win32/kernel32/k32.h
modified dll/win32/kernel32/mem/isbad.c
modified dll/win32/kernel32/misc/console.c
modified dll/win32/kernel32/process/procsup.c
modified dll/win32/kernel32/string/lstring.c
modified dll/win32/kernel32/thread/thread.c
kernel32 migrated to PSEH 2.0
modified dll/win32/psapi/precomp.h
modified dll/win32/psapi/psapi.c
psapi migrated to PSEH 2.0
modified dll/win32/setupapi/cfgmgr.c
modified dll/win32/setupapi/setupapi_private.h
setupapi migrated to PSEH 2.0
modified dll/win32/syssetup/wizard.c
syssetup migrated to PSEH 2.0
modified dll/win32/user32/include/user32.h
modified dll/win32/user32/windows/class.c
modified dll/win32/user32/windows/text.c
modified dll/win32/user32/windows/window.c
user32 migrated to PSEH 2.0
modified drivers/input/kbdclass/kbdclass.c
modified drivers/input/kbdclass/kbdclass.h
kbdclass migrated to PSEH 2.0
modified drivers/input/mouclass/mouclass.c
modified drivers/input/mouclass/mouclass.h
mouclass migrated to PSEH 2.0
modified drivers/network/afd/afd/info.c
modified drivers/network/afd/afd/lock.c
modified drivers/network/afd/afd/tdi.c
modified drivers/network/afd/afd/tdiconn.c
afd migrated to PSEH 2.0
modified drivers/network/lan/lan/lan.c
lan migrated to PSEH 2.0
modified drivers/network/tcpip/tcpip/dispatch.c
tcpip migrated to PSEH 2.0
modified lib/rtl/debug.c
modified lib/rtl/res.c
modified lib/rtl/rtl.h
modified lib/rtl/unicode.c
modified lib/rtl/workitem.c
rtl migrated to PSEH 2.0
modified ntoskrnl/include/precomp.h
ntoskrnl migrated to PSEH 2.0
modified subsystems/csr/csrsrv/api.c
csrsrv migrated to PSEH 2.0
modified subsystems/win32/win32k/eng/bitblt.c
modified subsystems/win32/win32k/eng/mem.c
modified subsystems/win32/win32k/include/mmcopy.h
modified subsystems/win32/win32k/misc/copy.c
modified subsystems/win32/win32k/ntuser/callback.c
modified subsystems/win32/win32k/ntuser/class.c
modified subsystems/win32/win32k/ntuser/clipboard.c
modified subsystems/win32/win32k/ntuser/cursoricon.c
modified subsystems/win32/win32k/ntuser/display.c
modified subsystems/win32/win32k/ntuser/hook.c
modified subsystems/win32/win32k/ntuser/input.c
modified subsystems/win32/win32k/ntuser/kbdlayout.c
modified subsystems/win32/win32k/ntuser/menu.c
modified subsystems/win32/win32k/ntuser/misc.c
modified subsystems/win32/win32k/ntuser/ntstubs.c
modified subsystems/win32/win32k/ntuser/painting.c
modified subsystems/win32/win32k/ntuser/simplecall.c
modified subsystems/win32/win32k/ntuser/sysparams.c
modified subsystems/win32/win32k/ntuser/window.c
modified subsystems/win32/win32k/objects/bitblt.c
modified subsystems/win32/win32k/objects/bitmaps.c
modified subsystems/win32/win32k/objects/brush.c
modified subsystems/win32/win32k/objects/cliprgn.c
modified subsystems/win32/win32k/objects/color.c
modified subsystems/win32/win32k/objects/coord.c
modified subsystems/win32/win32k/objects/dc.c
modified subsystems/win32/win32k/objects/dcutil.c
modified subsystems/win32/win32k/objects/dibobj.c
modified subsystems/win32/win32k/objects/fillshap.c
modified subsystems/win32/win32k/objects/font.c
modified subsystems/win32/win32k/objects/freetype.c
modified subsystems/win32/win32k/objects/icm.c
modified subsystems/win32/win32k/objects/line.c
modified subsystems/win32/win32k/objects/path.c
modified subsystems/win32/win32k/objects/pen.c
modified subsystems/win32/win32k/objects/print.c
modified subsystems/win32/win32k/objects/region.c
modified subsystems/win32/win32k/objects/text.c
modified subsystems/win32/win32k/pch.h
win32k migrated to PSEH 2.0
svn path=/trunk/; revision=37776
2008-11-30 19:28:11 +00:00
KJK::Hyperion
adeaeb06b1
Left out of the previous commit by mistake
...
svn path=/trunk/; revision=37758
2008-11-30 06:00:58 +00:00
KJK::Hyperion
feee728349
modified base/shell/explorer/explorer.rbuild
...
The TDM build of gcc 4.3.2 is affected by PR 27067 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067 ), apparently due to a missing MinGW-only patch - work around it in the linker
modified dll/directx/ddraw/d3d/DirectD3D_main.c
modified dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified dll/directx/ddraw/Ddraw/ddraw_main.c
modified dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified dll/directx/ddraw/Ddraw/GetCaps.c
modified dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified dll/directx/ddraw/main.c
modified dll/directx/ddraw/Surface/createsurface.c
<pseh/pseh.h> already included in rosdraw.h
modified dll/win32/advapi32/misc/trace.c
Silence a warning reported by gcc 4.3.2 (possibly incorrectly, but it's just a stub anyway)
modified ntoskrnl/include/internal/ntoskrnl.h
added ntoskrnl/include/internal/probe.h
replaced ntoskrnl/include/ntoskrnl.h
added ntoskrnl/include/precomp.h
modified ntoskrnl/ntoskrnl-generic.rbuild
added subsystems/win32/win32k/pch.h
replaced subsystems/win32/win32k/w32k.h
modified subsystems/win32/win32k/win32k.rbuild
gcc 4.3.2-tdm-1 doesn't like PSEH in precompiled headers. Shuffle things around a bit to remove PSEH from precompiled headers
svn path=/trunk/; revision=37757
2008-11-30 05:49:18 +00:00
Stefan Ginsberg
165bfe865b
- STDCALL -> NTAPI
...
svn path=/trunk/; revision=37745
2008-11-29 20:47:48 +00:00
Stefan Ginsberg
0f123895c2
- Remove system_header
...
svn path=/trunk/; revision=37743
2008-11-29 20:17:45 +00:00
Cameron Gutman
28d4b20129
- Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex Ionescu.
...
svn path=/trunk/; revision=37714
2008-11-29 02:57:21 +00:00