reactos.git
11 years agoFix PNP_DeviceInstanceAction prototype.
Eric Kohl [Wed, 6 Jan 2010 18:58:10 +0000 (18:58 +0000)]
Fix PNP_DeviceInstanceAction prototype.

svn path=/trunk/; revision=44980

11 years ago- missed this one, sorry
Kamil Hornicek [Wed, 6 Jan 2010 15:05:25 +0000 (15:05 +0000)]
- missed this one, sorry

svn path=/trunk/; revision=44979

11 years ago- sync wined3d, ddraw, d3d8 and d3d9 with Wine 1.1.35
Kamil Hornicek [Wed, 6 Jan 2010 14:59:04 +0000 (14:59 +0000)]
- sync wined3d, ddraw, d3d8 and d3d9 with Wine 1.1.35

svn path=/trunk/; revision=44978

11 years ago- fix definition of ComposeRects
Kamil Hornicek [Wed, 6 Jan 2010 14:19:58 +0000 (14:19 +0000)]
- fix definition of ComposeRects

svn path=/trunk/; revision=44977

11 years agoFix pause / resume code. The buttons need fixing yet so it still won't work, although...
Ged Murphy [Wed, 6 Jan 2010 13:10:09 +0000 (13:10 +0000)]
Fix pause / resume code. The buttons need fixing yet so it still won't work, although the menu items probably will.

svn path=/trunk/; revision=44976

11 years ago[win32k]
Giannis Adamopoulos [Wed, 6 Jan 2010 12:44:31 +0000 (12:44 +0000)]
[win32k]
- Rewrite SetCursorPos and ShowCursror
- Store coursor show count in SYSTEM_CURSORINFO and not in GDIPOINTER
- Fix broken behaviour in ClipCursor

svn path=/trunk/; revision=44975

11 years ago[freeldr]
Dmitry Gorbachev [Wed, 6 Jan 2010 11:44:54 +0000 (11:44 +0000)]
[freeldr]
- Do not use GetSystemMemorySize(), which truncates size to 32 bit.
- Other minor changes.

svn path=/trunk/; revision=44974

11 years agoCheck if MmHeapAlloc() failed.
Dmitry Gorbachev [Wed, 6 Jan 2010 01:28:23 +0000 (01:28 +0000)]
Check if MmHeapAlloc() failed.

svn path=/trunk/; revision=44972

11 years ago- Implement NMI handler in C instead of ASM.
ReactOS Portable Systems Group [Wed, 6 Jan 2010 00:40:07 +0000 (00:40 +0000)]
- Implement NMI handler in C instead of ASM.
- Tested with the "nmi 0" command in QEMU and NmiDbg.sys.

svn path=/trunk/; revision=44971

11 years ago[RTL]
Timo Kreuzer [Wed, 6 Jan 2010 00:39:07 +0000 (00:39 +0000)]
[RTL]
Merge from amd64 branch
35738,37004,37308,37324,37330,37331,37332,37370,37419,37424,37425,37428,37473,37492,37844,37911,37987,40604,41006,43686,43951,43953,43980,43993,44001,44289,44295,44296,44428,44966,44967,44968

- Implement amd64 specific RTL functions: RtlLookupFunctionTable, RtlLookupFunctionEntry, RtlCaptureContext, RtlVirtualUnwind, RtlWalkFrameChain, RtlGetCallersAddress, RtlRaiseException (Timo Kreuzer)
- Implement amd64 asm functions: RtlCompareMemory, DebugService, RtlInterlockedPopEntrySList, RtlInterlockedPushEntrySList and RtlInterlockedFlushSList (Timo Kreuzer)
- Don't use double in rtl's sprintf / swprintf, use double_t union instead. (Stefan Ginsberg)

svn path=/trunk/; revision=44970

11 years agoFix memory leak in CreateToolhelp32Snapshot(). Bug #5096.
Dmitry Gorbachev [Tue, 5 Jan 2010 23:28:16 +0000 (23:28 +0000)]
Fix memory leak in CreateToolhelp32Snapshot(). Bug #5096.

svn path=/trunk/; revision=44969

11 years agoClean up the pause and resume code and a few other bits and bobs
Ged Murphy [Tue, 5 Jan 2010 21:43:00 +0000 (21:43 +0000)]
Clean up the pause and resume code and a few other bits and bobs

svn path=/trunk/; revision=44965

11 years agoClean up the start code
Ged Murphy [Tue, 5 Jan 2010 21:14:10 +0000 (21:14 +0000)]
Clean up the start code

svn path=/trunk/; revision=44963

11 years ago[SERVMAN]
Ged Murphy [Tue, 5 Jan 2010 20:41:14 +0000 (20:41 +0000)]
[SERVMAN]
- Fully implement stopping all dependent services
- When stopping a service, only list other running services which require stopping
- Use the same progress dialog for stopping multiple services and make it smoother

svn path=/trunk/; revision=44961

11 years ago[spoolsv]
Eric Kohl [Tue, 5 Jan 2010 20:32:02 +0000 (20:32 +0000)]
[spoolsv]
- Switch to wine debug macros. Add new debug channel spoolsv.
- Update service status when the service receives a control message.

svn path=/trunk/; revision=44960

11 years ago[umpnpmgr]
Eric Kohl [Tue, 5 Jan 2010 20:26:31 +0000 (20:26 +0000)]
[umpnpmgr]
PNP_DeviceInstanceAction: Call a separate function for each action.

svn path=/trunk/; revision=44959

11 years ago[WIN32k]
Timo Kreuzer [Tue, 5 Jan 2010 20:06:33 +0000 (20:06 +0000)]
[WIN32k]
Fix some 64 bit issues.

svn path=/trunk/; revision=44958

11 years agoMake the logic easier to read
Ged Murphy [Tue, 5 Jan 2010 19:27:14 +0000 (19:27 +0000)]
Make the logic easier to read

svn path=/trunk/; revision=44957

11 years ago[win32k] / [user32]
Timo Kreuzer [Tue, 5 Jan 2010 19:26:32 +0000 (19:26 +0000)]
[win32k] / [user32]
Merge from amd64 branch:
34780 some DWORD -> DWORD_PTR (Timo Kreuzer)
34781 fix usage of InterlockedCompareExchangePointer (Timo Kreuzer)
34782 fix usage of InterlockedCompareExchangePointer (Timo Kreuzer)
34908 some 64 bit fixes in win32k (Timo Kreuzer)
34909 some more win32k 64 bit fixes (Timo Kreuzer)
34965 Fix typos. (Samuel Serapión)
41479 Remove usage of RETURN() macro (Timo Kreuzer)
41540 Make parameters for NtUserCallOneParam and NtUserCallTwoParam DWORD_PTR instead of DWORD (Timo Kreuzer)
41546 Add _FLOATOBJ_GetFix for non-x86 (Timo Kreuzer)
41547 Only export FLOATOBJ_* api on x86 (Timo Kreuzer)
44238 Fix some 64 bit isues. (Timo Kreuzer)
43969 undefine i386 in the pspec file (Timo Kreuzer)

svn path=/trunk/; revision=44956

11 years agoDisplay all service dependants which need stopping
Ged Murphy [Tue, 5 Jan 2010 19:19:06 +0000 (19:19 +0000)]
Display all service dependants which need stopping

svn path=/trunk/; revision=44955

11 years agoSwitch to crt string safe functions. Remove some commented code
Ged Murphy [Tue, 5 Jan 2010 18:39:47 +0000 (18:39 +0000)]
Switch to crt string safe functions. Remove some commented code

svn path=/trunk/; revision=44954

11 years agoForgot the comments in this file
Ged Murphy [Tue, 5 Jan 2010 18:16:43 +0000 (18:16 +0000)]
Forgot the comments in this file

svn path=/trunk/; revision=44953

11 years ago[CSRSS]
Timo Kreuzer [Tue, 5 Jan 2010 18:13:00 +0000 (18:13 +0000)]
[CSRSS]
Merge from ams64 branch:
35805 remove unneeded msvcrt dependency (all win32 projects already depend on it) (Samuel Serapión)
36992 - Fix csrss compilation (treat handles as pointer sized, use SIZE_T where appropriate) (Stefan Ginsberg)
41485 Fix 64bit issues. (Timo Kreuzer)
41531 fix pointer <-> DWORD casts (Timo Kreuzer)
41536 win32csr: convert to spec (Timo Kreuzer)
43838 Fix csrss build. (Samuel Serapión)

svn path=/trunk/; revision=44952

11 years ago- Reimplement service stop routines.
Ged Murphy [Tue, 5 Jan 2010 18:08:41 +0000 (18:08 +0000)]
- Reimplement service stop routines.
- Stopping single services should now work again, full dependency trees won't yet.

svn path=/trunk/; revision=44951

11 years ago[ATL]
Timo Kreuzer [Tue, 5 Jan 2010 17:38:03 +0000 (17:38 +0000)]
[ATL]
Merged from amd64 branch:
- add amd64 specific thunkCode
- get rid of a cast

svn path=/trunk/; revision=44950

11 years agoMore code towards getting servman to stop services again, etc...
Ged Murphy [Tue, 5 Jan 2010 17:14:08 +0000 (17:14 +0000)]
More code towards getting servman to stop services again, etc...
(clearly not a message for the changelog)

svn path=/trunk/; revision=44949

11 years agoDaniel Zimmermann <netzimme@aim.com>
Aleksey Bragin [Tue, 5 Jan 2010 16:37:32 +0000 (16:37 +0000)]
Daniel Zimmermann <netzimme@aim.com>
- Implement RtlDnsHostNameToComputerName.
See issue #5092 for more details.

svn path=/trunk/; revision=44948

11 years ago- Implement SystemException and SystemContextSwitch information cases in NtQuerySyste...
Aleksey Bragin [Tue, 5 Jan 2010 16:28:47 +0000 (16:28 +0000)]
- Implement SystemException and SystemContextSwitch information cases in NtQuerySystemInformation by Samuel Serapion, modified by me (comments, coding style).
See issue #5054 for more details.

svn path=/trunk/; revision=44947

11 years agoMarcus Boillat <ka6602-280@online.de>
Aleksey Bragin [Tue, 5 Jan 2010 16:18:35 +0000 (16:18 +0000)]
Marcus Boillat <ka6602-280@online.de>
- ipconfig should also parse parameters starting with "-" (undocumented feature, tested on Windows XP, Vista and Windows 7).
See issue #5067 for more details.

svn path=/trunk/; revision=44946

11 years ago[gdi32]
James Tabor [Tue, 5 Jan 2010 03:05:50 +0000 (03:05 +0000)]
[gdi32]
- Run full Attribute and GdiBatch for Region support. Leaving Enh/Meta and mirroring support for regions.

svn path=/trunk/; revision=44943

11 years ago- Revert changes in font.
James Tabor [Mon, 4 Jan 2010 20:48:31 +0000 (20:48 +0000)]
- Revert changes in font.

svn path=/trunk/; revision=44933

11 years ago- Sorry I thought I turn the debug off.region.c
James Tabor [Mon, 4 Jan 2010 20:44:48 +0000 (20:44 +0000)]
- Sorry I thought I turn the debug off.region.c

svn path=/trunk/; revision=44932

11 years agoHackfix wdmaud.drv for now (Johannes Anderwald)
Sylvain Petreolle [Mon, 4 Jan 2010 18:07:27 +0000 (18:07 +0000)]
Hackfix wdmaud.drv for now (Johannes Anderwald)

svn path=/trunk/; revision=44931

11 years agoChinese translations of NTVDM by Samuel Lee. Bug #5087.
Dmitry Gorbachev [Mon, 4 Jan 2010 16:39:38 +0000 (16:39 +0000)]
Chinese translations of NTVDM by Samuel Lee. Bug #5087.

svn path=/trunk/; revision=44930

11 years agoRehack the explorer hack for secure CRT usage.
Ged Murphy [Mon, 4 Jan 2010 16:10:33 +0000 (16:10 +0000)]
Rehack the explorer hack for secure CRT usage.
This should fix the build, unless there are any more oddities in our tree.

svn path=/trunk/; revision=44929

11 years agoFix __STDC_WANT_SECURE_LIB__ redefinition
Ged Murphy [Mon, 4 Jan 2010 14:02:49 +0000 (14:02 +0000)]
Fix __STDC_WANT_SECURE_LIB__ redefinition

svn path=/trunk/; revision=44928

11 years agoAdd wcsncat back, it was removed accidentally
Ged Murphy [Mon, 4 Jan 2010 13:47:19 +0000 (13:47 +0000)]
Add wcsncat back, it was removed accidentally

svn path=/trunk/; revision=44927

11 years agoAdd some of the string safe stuff to the headers.
Ged Murphy [Mon, 4 Jan 2010 13:36:59 +0000 (13:36 +0000)]
Add some of the string safe stuff to the headers.

svn path=/trunk/; revision=44926

11 years ago- Remove unnecessary line from FreeEnvironmentStringsW.
Aleksey Bragin [Mon, 4 Jan 2010 11:17:57 +0000 (11:17 +0000)]
- Remove unnecessary line from FreeEnvironmentStringsW.
See issue #5073 for more details.

svn path=/trunk/; revision=44925

11 years agoDaniel Zimmermann <netzimme@aim.com>
Aleksey Bragin [Mon, 4 Jan 2010 11:03:23 +0000 (11:03 +0000)]
Daniel Zimmermann <netzimme@aim.com>
- Fix missing arguments for the call KdbpPrint() in
differents places in kdbg_cli.c.
See issue #5089 for more details.

svn path=/trunk/; revision=44924

11 years ago- Another attempt to fix RGNOBJAPI_Un/Lock SEH issue. Resort code.
James Tabor [Mon, 4 Jan 2010 01:36:24 +0000 (01:36 +0000)]
- Another attempt to fix RGNOBJAPI_Un/Lock SEH issue. Resort code.

svn path=/trunk/; revision=44923

11 years agoCoding-style fixes. No code changes.
Eric Kohl [Sun, 3 Jan 2010 22:44:10 +0000 (22:44 +0000)]
Coding-style fixes. No code changes.

svn path=/trunk/; revision=44922

11 years ago[devmgr]
Eric Kohl [Sun, 3 Jan 2010 22:41:13 +0000 (22:41 +0000)]
[devmgr]
- Display the 'Enumerator' property.

svn path=/trunk/; revision=44921

11 years ago- Remove duplicate definitions of context flags (which are already present in NDK);
Dmitry Gorbachev [Sun, 3 Jan 2010 20:12:56 +0000 (20:12 +0000)]
- Remove duplicate definitions of context flags (which are already present in NDK);
- combine them using bitwise or (as in CreateFiberEx and ConvertThreadToFiberEx).

svn path=/trunk/; revision=44920

11 years agoFix GCC 4.5.0 "operation may be undefined" warning.
Dmitry Gorbachev [Sun, 3 Jan 2010 20:12:43 +0000 (20:12 +0000)]
Fix GCC 4.5.0 "operation may be undefined" warning.

svn path=/trunk/; revision=44919

11 years agoSamuel Serapion
Aleksey Bragin [Sun, 3 Jan 2010 18:29:30 +0000 (18:29 +0000)]
Samuel Serapion
- Implement ExSetTimerResolution, tested with a VirtualBox driver.
- Rewrite comments in TimeRefresh lock/unlock functions.

svn path=/trunk/; revision=44918

11 years ago[NDK]
Aleksey Bragin [Sun, 3 Jan 2010 18:17:21 +0000 (18:17 +0000)]
[NDK]
- Add forgotten HalSetTimeIncrement prototype to NDK.

svn path=/trunk/; revision=44917

11 years ago[ntoskrnl/cm]
Aleksey Bragin [Sun, 3 Jan 2010 18:14:34 +0000 (18:14 +0000)]
[ntoskrnl/cm]
- advapi32 winetest registry tries to create a non-volatile child of a volatile parent. Comment out the warning ASSERT to let testman pass through this condition.

svn path=/trunk/; revision=44916

11 years agoAdd / update Japanese translations. Patch by Tomoya Kitagawa. Bug #5024.
Dmitry Gorbachev [Sun, 3 Jan 2010 15:53:21 +0000 (15:53 +0000)]
Add / update Japanese translations. Patch by Tomoya Kitagawa. Bug #5024.

svn path=/trunk/; revision=44915

11 years agoTraditional and simplified Chinese translations of CSRSS by Samuel Lee (samuel_lee_19...
Dmitry Gorbachev [Sun, 3 Jan 2010 15:24:58 +0000 (15:24 +0000)]
Traditional and simplified Chinese translations of CSRSS by Samuel Lee (samuel_lee_1991 =AT= hotmail =DOT= com), bug #5082.

svn path=/trunk/; revision=44914

11 years ago- Copy property data to the user-mode buffer.
Eric Kohl [Sun, 3 Jan 2010 15:24:16 +0000 (15:24 +0000)]
- Copy property data to the user-mode buffer.
- Return the enumerator name without trailing backslash.

svn path=/trunk/; revision=44913

11 years agoFix indentation. No code changes.
Eric Kohl [Sun, 3 Jan 2010 15:20:09 +0000 (15:20 +0000)]
Fix indentation. No code changes.

svn path=/trunk/; revision=44912

11 years ago- add some German translations
Matthias Kupfer [Sun, 3 Jan 2010 13:34:20 +0000 (13:34 +0000)]
- add some German translations

svn path=/trunk/; revision=44911

11 years ago[crypt32_winetest]
Christoph von Wittich [Sun, 3 Jan 2010 11:59:59 +0000 (11:59 +0000)]
[crypt32_winetest]
sync crypt32_winetest to wine 1.1.35

svn path=/trunk/; revision=44910

11 years ago[crypt32]
Christoph von Wittich [Sun, 3 Jan 2010 11:59:38 +0000 (11:59 +0000)]
[crypt32]
sync crypt32 to wine 1.1.35

svn path=/trunk/; revision=44909

11 years ago[cabinet]
Christoph von Wittich [Sun, 3 Jan 2010 11:51:39 +0000 (11:51 +0000)]
[cabinet]
sync cabinet to wine 1.1.35

svn path=/trunk/; revision=44908

11 years ago[advapi32]
Christoph von Wittich [Sun, 3 Jan 2010 11:20:54 +0000 (11:20 +0000)]
[advapi32]
reorder functions in cred.c to match wine code for easier syncing

svn path=/trunk/; revision=44907

11 years ago[gdiplus_winetest]
Christoph von Wittich [Sun, 3 Jan 2010 10:54:40 +0000 (10:54 +0000)]
[gdiplus_winetest]
sync gdiplus_winetest with wine 1.1.35

svn path=/trunk/; revision=44906

11 years agosync gdiplus with wine 1.1.35
Christoph von Wittich [Sun, 3 Jan 2010 10:54:14 +0000 (10:54 +0000)]
sync gdiplus with wine 1.1.35

svn path=/trunk/; revision=44905

11 years ago- Bring back old paged pool allocator and use it for paged pool, until ARM3 pool...
ReactOS Portable Systems Group [Sun, 3 Jan 2010 05:24:30 +0000 (05:24 +0000)]
- Bring back old paged pool allocator and use it for paged pool, until ARM3 pool issues are solved.
- Should fix recent regressions.

svn path=/trunk/; revision=44904

11 years ago- Fix some pool calculations.
ReactOS Portable Systems Group [Sun, 3 Jan 2010 05:10:09 +0000 (05:10 +0000)]
- Fix some pool calculations.
- Check for some untested pool calculations.
- Handle paging-in the page tables when needed.
- Setup paging colors based on L2 cache size/associativity.
- Setup system PTE size earlier.

svn path=/trunk/; revision=44903

11 years ago[Win32k]
James Tabor [Sun, 3 Jan 2010 00:05:15 +0000 (00:05 +0000)]
[Win32k]
- Patch by Dan Kegel: Fix minor read buffer overrun in CombineRgn. http://bugs.winehq.org/show_bug.cgi?id=20851
- When locking and unlocking regions, use probe to check attribute space first before read or write access.

svn path=/trunk/; revision=44902

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Sat, 2 Jan 2010 22:04:35 +0000 (22:04 +0000)]
[WDMAUD.DRV]
- Partly revert 44873

svn path=/trunk/; revision=44901

11 years agoSilence old GCC warning.
Dmitry Gorbachev [Sat, 2 Jan 2010 20:49:59 +0000 (20:49 +0000)]
Silence old GCC warning.

svn path=/trunk/; revision=44900

11 years agoCompensate for continuous memory usage decrease (bug #4835).
Dmitry Gorbachev [Sat, 2 Jan 2010 20:41:04 +0000 (20:41 +0000)]
Compensate for continuous memory usage decrease (bug #4835).

svn path=/trunk/; revision=44899

11 years ago[MSAFD] Only free if memory was allocated, fixes build
Gregor Schneider [Sat, 2 Jan 2010 20:26:36 +0000 (20:26 +0000)]
[MSAFD] Only free if memory was allocated, fixes build

svn path=/trunk/; revision=44898

11 years agoChange base addresses of devenum.dll, inetcomm.dll, mshtml.dll.
Dmitry Gorbachev [Sat, 2 Jan 2010 20:09:28 +0000 (20:09 +0000)]
Change base addresses of devenum.dll, inetcomm.dll, mshtml.dll.

svn path=/trunk/; revision=44897

11 years agoFix buffer overflow in WSPSendTo(), bug #5070.
Dmitry Gorbachev [Sat, 2 Jan 2010 20:09:16 +0000 (20:09 +0000)]
Fix buffer overflow in WSPSendTo(), bug #5070.

svn path=/trunk/; revision=44896

11 years ago- Update region.c from wine head. This is needed for region testing of GetRegionData...
James Tabor [Sat, 2 Jan 2010 19:18:44 +0000 (19:18 +0000)]
- Update region.c from wine head. This is needed for region testing of GetRegionData and related code.

svn path=/trunk/; revision=44892

11 years ago[NTDLL]
Timo Kreuzer [Sat, 2 Jan 2010 17:55:17 +0000 (17:55 +0000)]
[NTDLL]
- Add back missing exports
See issue #5078 for more details.

svn path=/trunk/; revision=44891

11 years agoChange base addresses of shlwapi.dll, syssetup.dll. Fix formatting.
Dmitry Gorbachev [Sat, 2 Jan 2010 17:07:46 +0000 (17:07 +0000)]
Change base addresses of shlwapi.dll, syssetup.dll. Fix formatting.

svn path=/trunk/; revision=44890

11 years ago[devmgr]
Eric Kohl [Sat, 2 Jan 2010 16:59:54 +0000 (16:59 +0000)]
[devmgr]
Display 'Devnode Flags' property.

svn path=/trunk/; revision=44889

11 years ago- Switch to using ARM3 paged pool -- all pool allocations are now handled by ARM3...
ReactOS Portable Systems Group [Sat, 2 Jan 2010 16:17:48 +0000 (16:17 +0000)]
- Switch to using ARM3 paged pool -- all pool allocations are now handled by ARM3, which should be much more efficient, and combines both NP and P code together.

svn path=/trunk/; revision=44885

11 years agoImplement paged pool expansion. We are now ready to switch to ARM pool 100%.
ReactOS Portable Systems Group [Sat, 2 Jan 2010 16:10:11 +0000 (16:10 +0000)]
Implement paged pool expansion. We are now ready to switch to ARM pool 100%.

svn path=/trunk/; revision=44884

11 years agoAdd missing device node flags.
Eric Kohl [Sat, 2 Jan 2010 15:55:03 +0000 (15:55 +0000)]
Add missing device node flags.

svn path=/trunk/; revision=44883

11 years agoPolish devmgr translation udates by Olaf Siejka
Sylvain Petreolle [Sat, 2 Jan 2010 13:29:19 +0000 (13:29 +0000)]
Polish devmgr translation udates by Olaf Siejka

svn path=/trunk/; revision=44882

11 years ago[SERVMAN]
Ged Murphy [Sat, 2 Jan 2010 12:10:14 +0000 (12:10 +0000)]
[SERVMAN]
Quick fix for bug 5076, this should stop if from crashing.
Stopping services is disabled at the moment

svn path=/trunk/; revision=44881

11 years ago[NTOS]: Build fixer.
ReactOS Portable Systems Group [Sat, 2 Jan 2010 05:12:29 +0000 (05:12 +0000)]
[NTOS]: Build fixer.

svn path=/trunk/; revision=44880

11 years agoNMI Support Patch 14:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 04:51:23 +0000 (04:51 +0000)]
NMI Support Patch 14:
   [BOOTDATA]: Add NMIDEBUG.SYS to the BOM and registry hive.

This is the last patch for NMI support. It is up to you to leverage this feature as needed through the NMIDEBUG.SYS driver.

svn path=/trunk/; revision=44879

11 years agoNMI Support Patch 13:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 04:50:08 +0000 (04:50 +0000)]
NMI Support Patch 13:
    [NMIDEBUG]: Add new NMI Debug driver. It registers an NMI callback on startup. The callback does nothing useful at the moment, but you can enhance it to add all sorts of debugging information that would otherwise be unavailable in situations such as an interrupt storm, IRQL hang, etc. When you send an NMI, such as by using QEMU, you should see the driver print a string.

svn path=/trunk/; revision=44878

11 years agoNMI Support Patch 12:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 04:48:22 +0000 (04:48 +0000)]
NMI Support Patch 12:
    [NTOS]: Implement KeRegisterNMICallback.
    [NTOS]: Call and implement KiHandleNMI to call all registered NMI callbacks and potentially resume from the NMI if handled.

svn path=/trunk/; revision=44877

11 years ago[NTOS]: Fix stdCall macro to work with functions of zero parameters.
ReactOS Portable Systems Group [Sat, 2 Jan 2010 04:46:23 +0000 (04:46 +0000)]
[NTOS]: Fix stdCall macro to work with functions of zero parameters.

svn path=/trunk/; revision=44876

11 years agoNMI Support Patch 11:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 04:44:58 +0000 (04:44 +0000)]
NMI Support Patch 11:
   [PSDK]: Add definitions for public NMI callback registration functions.

svn path=/trunk/; revision=44875

11 years ago[MMIXER_TEST]
Johannes Anderwald [Sat, 2 Jan 2010 01:54:09 +0000 (01:54 +0000)]
[MMIXER_TEST]
- Implement AllocEventData, FreeEventData for mmixer library

svn path=/trunk/; revision=44874

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Sat, 2 Jan 2010 01:53:22 +0000 (01:53 +0000)]
[WDMAUD.DRV]
- Implement AllocEventData, FreeEventData for mmixer library

svn path=/trunk/; revision=44873

11 years ago[MMIXER]
Johannes Anderwald [Sat, 2 Jan 2010 01:52:12 +0000 (01:52 +0000)]
[MMIXER]
- Implement registering hardware events (volume / mute control changes)
- Fix a bug when querying a source mixer line. The wrong line id was passed which caused the call to fail.

svn path=/trunk/; revision=44872

11 years agoNMI Support Patch 10:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 01:34:27 +0000 (01:34 +0000)]
NMI Support Patch 10:
    [NTOS]: Write barebones NMI Trap handler which does a TSS context switch to the NMI TSS and then calls the HAL NMI handler.
    [NTOS]: Implement KiSaveProcessorState for doing a PRCB context save/restore.

You should now be able to test the new NMI functionality by either building the circuit referenced in my e-mail and attaching it to your PCI bus, or by using "nmi 0" in the QEMU stdio console.

svn path=/trunk/; revision=44871

11 years ago[NTOSKRNL]
Cameron Gutman [Sat, 2 Jan 2010 01:32:43 +0000 (01:32 +0000)]
[NTOSKRNL]
 - Fake success from the MmSecureVirtualMemory stub
 - See issue #4996 for details

svn path=/trunk/; revision=44870

11 years agoNMI Support Patch 9:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 01:32:34 +0000 (01:32 +0000)]
NMI Support Patch 9:
    [NDK]: Add missing KTSS ASM offsets.
    [NDK]: Add missing EXCEPTION_ codes.

svn path=/trunk/; revision=44869

11 years agoNMI Support Patch 8:
ReactOS Portable Systems Group [Sat, 2 Jan 2010 01:28:36 +0000 (01:28 +0000)]
NMI Support Patch 8:
    [NTOS]: Implement a GNU Assembler version of the Windows SDK ASM calling convention macros. Only stdCall and its helpers have been written -- feel free to write the rest. Based on callconv.inc from Microsoft). SUGGESTION: Slowly start rewriting current code to use calling convention macros as it is much cleaner.

svn path=/trunk/; revision=44868

11 years ago[KS]
Johannes Anderwald [Sat, 2 Jan 2010 01:22:38 +0000 (01:22 +0000)]
[KS]
- Return correct error code

svn path=/trunk/; revision=44867

11 years agoLift a protection (forgotten in 44842).
Dmitry Gorbachev [Sat, 2 Jan 2010 00:17:37 +0000 (00:17 +0000)]
Lift a protection (forgotten in 44842).

svn path=/trunk/; revision=44866

11 years ago[SETUPAPI]
Johannes Anderwald [Fri, 1 Jan 2010 23:44:41 +0000 (23:44 +0000)]
[SETUPAPI]
- Implement SetupInitializeFileLogA, SetupInitializeFileLogW, SetupTerminateFileLog

svn path=/trunk/; revision=44865

11 years agoFix parameter type of NtQueryInformationThread; do not call ExitThread from itself...
Dmitry Gorbachev [Fri, 1 Jan 2010 23:14:10 +0000 (23:14 +0000)]
Fix parameter type of NtQueryInformationThread; do not call ExitThread from itself. Bug #5076.

svn path=/trunk/; revision=44864

11 years agoNMI Support Patch 7 Build Fixer:
ReactOS Portable Systems Group [Fri, 1 Jan 2010 21:07:22 +0000 (21:07 +0000)]
NMI Support Patch 7 Build Fixer:
    [HAL]: Define HalpNMIInProgress as an external in the HAL private headers.

svn path=/trunk/; revision=44863

11 years agoNMI Support Patch 7 Straggler:
ReactOS Portable Systems Group [Fri, 1 Jan 2010 21:05:41 +0000 (21:05 +0000)]
NMI Support Patch 7 Straggler:
    [HAL]: Piggyback on V8086 handler (don't restore kernel GPF handler) during an NMI, so that we don't enter another fault context during a recursive NMI after display reset. If another NMI does happen, the V8086 GPF handler will just spin.

svn path=/trunk/; revision=44862

11 years agoNMI Support Patch 7:
ReactOS Portable Systems Group [Fri, 1 Jan 2010 21:03:22 +0000 (21:03 +0000)]
NMI Support Patch 7:
    [NTOS]: Improve UNHANDLED_PATH macro with a new "Reason" parameter which displays why the path is unhandled (ie: what the unexpected/unlikely/untested scenario is). This is better than just displaying the current PC which is typically useless.
    [NTOS]: Separate UNHANDLED_PATH from UNHANDLED_V86_PATH which is specifically for paths that are unimplemented due to lack of VDM support.
    [HAL]:  Update to new macros in V8086 support, and handle invalid opcode errors with a debug print (I encountered these when the NMI TSS was being used, since the IOPM was invalid).
    [HAL]:  If the V8086 GPF handler is called outside of V8086 mode, assume an NMI happened around the BIOS Call and just spin forever. We'll piggyback on the V8086 GPF handler during an NMI, in order to avoid the kernel's GPF handler which would attempt to panic/reset the display again (and cause endless NMI recursion/corruption).

svn path=/trunk/; revision=44861

11 years agoNMI Support Patch 6:
ReactOS Portable Systems Group [Fri, 1 Jan 2010 20:55:15 +0000 (20:55 +0000)]
NMI Support Patch 6:
    [HAL]: Fix NMI recursion issues.
    [HAL]: Reset the display during NMI and paint the NMI Screen of Death.

svn path=/trunk/; revision=44860

11 years ago- Update Russian translation
Dmitry Chapyshev [Fri, 1 Jan 2010 19:09:55 +0000 (19:09 +0000)]
- Update Russian translation

svn path=/trunk/; revision=44859

11 years ago[devmgr]
Eric Kohl [Fri, 1 Jan 2010 17:23:40 +0000 (17:23 +0000)]
[devmgr]
- Display 'Capabilities' and 'Config Flags' flags separately.

svn path=/trunk/; revision=44858