Commit graph

40082 commits

Author SHA1 Message Date
ReactOS Portable Systems Group 3c027e728c - 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
2010-01-02 16:17:48 +00:00
ReactOS Portable Systems Group b69d9da41a Implement paged pool expansion. We are now ready to switch to ARM pool 100%.
svn path=/trunk/; revision=44884
2010-01-02 16:10:11 +00:00
Eric Kohl e7c10484b8 Add missing device node flags.
svn path=/trunk/; revision=44883
2010-01-02 15:55:03 +00:00
Sylvain Petreolle 7271e0a85a Polish devmgr translation udates by Olaf Siejka
svn path=/trunk/; revision=44882
2010-01-02 13:29:19 +00:00
Ged Murphy 53281cd601 [SERVMAN]
Quick fix for bug 5076, this should stop if from crashing.
Stopping services is disabled at the moment

svn path=/trunk/; revision=44881
2010-01-02 12:10:14 +00:00
ReactOS Portable Systems Group 2c793a902d [NTOS]: Build fixer.
svn path=/trunk/; revision=44880
2010-01-02 05:12:29 +00:00
ReactOS Portable Systems Group 785d4328db 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
2010-01-02 04:51:23 +00:00
ReactOS Portable Systems Group 475b0fd7cb 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
2010-01-02 04:50:08 +00:00
ReactOS Portable Systems Group 91636ec6ed 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
2010-01-02 04:48:22 +00:00
ReactOS Portable Systems Group f9762a47d5 [NTOS]: Fix stdCall macro to work with functions of zero parameters.
svn path=/trunk/; revision=44876
2010-01-02 04:46:23 +00:00
ReactOS Portable Systems Group 4247babde3 NMI Support Patch 11:
[PSDK]: Add definitions for public NMI callback registration functions.


svn path=/trunk/; revision=44875
2010-01-02 04:44:58 +00:00
Johannes Anderwald 318229f03f [MMIXER_TEST]
- Implement AllocEventData, FreeEventData for mmixer library

svn path=/trunk/; revision=44874
2010-01-02 01:54:09 +00:00
Johannes Anderwald 70d4997811 [WDMAUD.DRV]
- Implement AllocEventData, FreeEventData for mmixer library

svn path=/trunk/; revision=44873
2010-01-02 01:53:22 +00:00
Johannes Anderwald c42d9f27cc [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
2010-01-02 01:52:12 +00:00
ReactOS Portable Systems Group 0926ed6652 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
2010-01-02 01:34:27 +00:00
Cameron Gutman b1e02d2174 [NTOSKRNL]
- Fake success from the MmSecureVirtualMemory stub
 - See issue #4996 for details

svn path=/trunk/; revision=44870
2010-01-02 01:32:43 +00:00
ReactOS Portable Systems Group cbcf12257d NMI Support Patch 9:
[NDK]: Add missing KTSS ASM offsets.
    [NDK]: Add missing EXCEPTION_ codes.

svn path=/trunk/; revision=44869
2010-01-02 01:32:34 +00:00
ReactOS Portable Systems Group 0396096bd1 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
2010-01-02 01:28:36 +00:00
Johannes Anderwald e40621ab44 [KS]
- Return correct error code

svn path=/trunk/; revision=44867
2010-01-02 01:22:38 +00:00
Dmitry Gorbachev 3b558d84dd Lift a protection (forgotten in 44842).
svn path=/trunk/; revision=44866
2010-01-02 00:17:37 +00:00
Johannes Anderwald 02a81d4d07 [SETUPAPI]
- Implement SetupInitializeFileLogA, SetupInitializeFileLogW, SetupTerminateFileLog

svn path=/trunk/; revision=44865
2010-01-01 23:44:41 +00:00
Dmitry Gorbachev 756859265d Fix parameter type of NtQueryInformationThread; do not call ExitThread from itself. Bug #5076.
svn path=/trunk/; revision=44864
2010-01-01 23:14:10 +00:00
ReactOS Portable Systems Group 126c7209ac NMI Support Patch 7 Build Fixer:
[HAL]: Define HalpNMIInProgress as an external in the HAL private headers.

svn path=/trunk/; revision=44863
2010-01-01 21:07:22 +00:00
ReactOS Portable Systems Group 9e858a7261 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
2010-01-01 21:05:41 +00:00
ReactOS Portable Systems Group 1b1c2360bb 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
2010-01-01 21:03:22 +00:00
ReactOS Portable Systems Group 6f0ef76efe 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
2010-01-01 20:55:15 +00:00
Dmitry Chapyshev a9786a898d - Update Russian translation
svn path=/trunk/; revision=44859
2010-01-01 19:09:55 +00:00
Eric Kohl 9bcb086ea2 [devmgr]
- Display 'Capabilities' and 'Config Flags' flags separately.

svn path=/trunk/; revision=44858
2010-01-01 17:23:40 +00:00
Eric Kohl 13e0ad9b55 Add missing device capabilities flags.
svn path=/trunk/; revision=44857
2010-01-01 17:02:37 +00:00
ReactOS Portable Systems Group 8266b754b6 NMI Support Patch 5:
[HAL]: Do correct TLB flushing for systems with global page support.
    [HAL]: Clean leading whitespace and comments.


svn path=/trunk/; revision=44856
2010-01-01 16:37:34 +00:00
ReactOS Portable Systems Group 61df639e4a NMI Support Patch 4:
[HAL]:  Use Mm headers to support PTE/PDE address translation instead of a hardcoded, homegrown macro. WARNING: The current HAL code is not PAE compatible (as it already wasn't).
    [NTOS]: Define an inline function to set and query an interrupt handler associated with a given IDT vector. This results in much cleaner code as the uglyness of manually setting up an IDT handler isn't duplicated 10 times. Additionally, it fixes some callers which had not been using HalVectorToIDTEntry to make the initial translation.

svn path=/trunk/; revision=44855
2010-01-01 15:09:14 +00:00
Eric Kohl 45316fbf63 [devmgr]
- Add missing string resources and translate the german ones.
- Set the focus to the combobox when the details page is opened.
- Don't display an error message when a property is not set for the selected device.
- Display 'Capabilities' and 'Config Flags' as DWORD values.

Ooops! These should have been committed as well.

svn path=/trunk/; revision=44854
2010-01-01 14:44:06 +00:00
Eric Kohl 3637a51c29 [devmgr]
- Add missing string resources and translate the german ones.
- Set the focus to the combobox when the details page is opened.
- Don't display an error message when a property is not set for the selected device.
- Display 'Capabilities' and 'Config Flags' as DWORD values.

svn path=/trunk/; revision=44853
2010-01-01 14:42:49 +00:00
Sylvain Petreolle d9c6ea2fbf Add GetEventLogInformation stub.
Add parameter checks for GetNumberOfEventLogRecords and GetOldestEventLogRecord.

Fixes 3 crashes for advapi32:eventlog winetest.

svn path=/trunk/; revision=44852
2010-01-01 14:41:44 +00:00
Dmitry Chapyshev 7b84f181bc - Update Russian translation
svn path=/trunk/; revision=44851
2010-01-01 14:35:01 +00:00
Daniel Reimer 13fc70da4e German translation of Eric's changes + fixed some bad language.
svn path=/trunk/; revision=44850
2010-01-01 12:40:23 +00:00
Colin Finck 7e0605b6a2 Happy New Year!
svn path=/trunk/; revision=44848
2010-01-01 12:10:13 +00:00
Sylvain Petreolle 599f3e27e8 Arch, why are you removing </module> tags ?
Happy new  year :)

svn path=/trunk/; revision=44844
2010-01-01 01:41:39 +00:00
ReactOS Portable Systems Group 040c742cac NMI Support Patch 3:
[HAL]: If the current TSS does not have enough space for an I/O Privilege Map then "borrow" the default TSS while the BIOS Call is in-flight. "Return" it when the BIOS call has ended. Fixes panics during a double fault (since the double fault handler will attempt to clear the display through a Video ROM BIOS Interrupt 10h). Allows NMI panics to do BIOS calls as well (for later).


svn path=/trunk/; revision=44843
2010-01-01 00:03:52 +00:00
ReactOS Portable Systems Group fd1ccbe10c NMI Support Patch 2:
[HAL]: Simplify IDT write-protection handling (always make it R/W and restore it to previous state).
    [HAL]: Avoid two superflous TLB flushes.


svn path=/trunk/; revision=44842
2009-12-31 23:56:40 +00:00
ReactOS Portable Systems Group 2e1b82cf72 NMI Support Patch 1:
[HAL]:  The I/O Permissions Map on a typical Privileged Mode x86 OS is all 0xFF's, so it's quite wasteful to copy-in/out the entire map each single BIOS Call. As an optimization, only save and restore non-0xFF entries.
    [NTOS]: Define and use constants for different IOPM values, instead of using hardcoded values.


svn path=/trunk/; revision=44841
2009-12-31 23:51:26 +00:00
Eric Kohl e426bf896f [devmgr]
Implement the details page and add dialogs for the resources and power pages. Some of the code is not final yet as I don't have a clean way of retrieving the required information. Some required stuff in setupapi or umpnpmgr is still incomplete too.

I wish you a happy and successful 2010!
Eric.

svn path=/trunk/; revision=44838
2009-12-31 22:10:41 +00:00
Timo Kreuzer 4080cc2e20 Patch by Amine Khaldi: Fix buffer length check
svn path=/trunk/; revision=44824
2009-12-31 14:44:33 +00:00
James Tabor a586dab9f9 [User32]
- Patch modified by Dmitry Timoshkov : Handle virtual key codes only in the WM_KEYDOWN case. See bug 5063. Reported by David Quintana.

svn path=/trunk/; revision=44819
2009-12-31 02:41:57 +00:00
James Tabor 098407e9ce [Win32k]
- Plugged in region attribute support and added the PEB cache for it as well.

[Gdi32]
- Using CreateRectRgn only with attribute and PEB cache support.

[Testing]
- Wine tests: gdi32; clipping and dc. gdiplus; region. user32; dce. Same results.
- Applications, AbiWord 2.6.8, FF 3.5, miranda 0.7.19 unicode, putty, SeaMonkey 2.0, WinMerge 2.12.4 and winamp 2.95 rc std. Same results.

svn path=/trunk/; revision=44817
2009-12-30 22:56:09 +00:00
Eric Kohl a7b546562e [services] Set the given service start name or LocalSystem for a new service.
svn path=/trunk/; revision=44816
2009-12-30 17:17:58 +00:00
Eric Kohl 5ad3e6fe72 [umpnpmgr]
Move device instance action constants into the idf file and use them instead of hardcoded values.

svn path=/trunk/; revision=44813
2009-12-30 13:57:47 +00:00
Gregor Schneider cf30e24abd [win32k] Add support for mask offsets in IntEngStretchBlt
svn path=/trunk/; revision=44809
2009-12-30 12:42:48 +00:00
Gregor Schneider 9ba0500088 [user32] Set the number of colors correctly when creating a monochrome bitmap
svn path=/trunk/; revision=44808
2009-12-30 12:39:19 +00:00
James Tabor 9b791c7be9 [Win32k]
- Setting up for region attribute support.
- Removed old code and use GreDeleteObject for dc and region types.

svn path=/trunk/; revision=44806
2009-12-29 21:07:04 +00:00