Commit graph

40556 commits

Author SHA1 Message Date
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
Timo Kreuzer
d786ac57d2 [HAL]
Don't spin with an interlocked operation.

svn path=/branches/ros-amd64-bringup/; revision=44849
2010-01-01 12:17:24 +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
Timo Kreuzer
a1bc42e31a [HAL]
Replace the asm implementations of HalpAcquireSystemHardwareSpinLock and HalpReleaseCmosSpinLock with C implementations. The old ones didn't work on SMP, as they were only compiled once as UP.

svn path=/branches/ros-amd64-bringup/; revision=44840
2009-12-31 23:45:36 +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
a4123875f0 fix build of halxbox
svn path=/branches/ros-amd64-bringup/; revision=44837
2009-12-31 21:43:20 +00:00
Timo Kreuzer
e609c18651 fix spec file for x86
svn path=/branches/ros-amd64-bringup/; revision=44836
2009-12-31 21:31:14 +00:00
Timo Kreuzer
5ec7192b66 [HAL]
- Move the rest from halamd64 to halx86

svn path=/branches/ros-amd64-bringup/; revision=44835
2009-12-31 21:23:01 +00:00
Timo Kreuzer
2a0c1bf649 [HAL]
- rename halmp to halmps
- remove hal_generic_pc
- remove some stuff from halamd64

svn path=/branches/ros-amd64-bringup/; revision=44834
2009-12-31 20:46:45 +00:00
Timo Kreuzer
b40509f919 use a directory.rbuild for halx86
svn path=/branches/ros-amd64-bringup/; revision=44833
2009-12-31 19:46:47 +00:00
Timo Kreuzer
bda3767dfb [HAL]
some improvements

svn path=/branches/ros-amd64-bringup/; revision=44832
2009-12-31 19:26:37 +00:00
Timo Kreuzer
6d68ae384a [HAL]
- begin integrating halamd64 into halx86
- Move some amd64 specific stuff into halx86
- use hal_generic for amd64, too

svn path=/branches/ros-amd64-bringup/; revision=44831
2009-12-31 16:51:05 +00:00
Timo Kreuzer
18534cb3b7 [HAL]
- fix indentation
- add HalDisableSystemInterrupt and HalEnableSystemInterrupt stubs

svn path=/branches/ros-amd64-bringup/; revision=44830
2009-12-31 16:47:09 +00:00
Timo Kreuzer
54dd2d3fd6 [HAL]
- fix pspec
- entrypoint should be HalInitSystem

svn path=/branches/ros-amd64-bringup/; revision=44829
2009-12-31 15:38:34 +00:00
Timo Kreuzer
773fab1b92 [HAL]
use the pspec for amd64, too

svn path=/branches/ros-amd64-bringup/; revision=44828
2009-12-31 15:31:20 +00:00
Timo Kreuzer
216f7788eb [HAL]
- Raname each architecture's default hal (halup) to "hal" (Windows does that, too) and get rid of the duplicated stub hal.

svn path=/branches/ros-amd64-bringup/; revision=44827
2009-12-31 15:19:17 +00:00
Timo Kreuzer
7e2711ef2a fix a typo
svn path=/branches/ros-amd64-bringup/; revision=44826
2009-12-31 15:12:16 +00:00
Timo Kreuzer
3d53481c23 [HAL]
- Move i386 specific code into i386 folder
- Move up specific code into up folder

svn path=/branches/ros-amd64-bringup/; revision=44825
2009-12-31 14:57:24 +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
Timo Kreuzer
2a7cba77ee [HAL]
- Implement architecture specific HalpSetInterruptGate, replacing SetInterruptGate

svn path=/branches/ros-amd64-bringup/; revision=44823
2009-12-31 14:29:50 +00:00
Samuel Serapion
aebe86c109 Fix Property USERMODE on x86
svn path=/branches/ros-amd64-bringup/; revision=44821
2009-12-31 07:42:39 +00:00
Samuel Serapion
534bb7e966 Fix build after r44818
svn path=/branches/ros-amd64-bringup/; revision=44820
2009-12-31 07:26:46 +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
Timo Kreuzer
d457242a5d - mciGetCreatorTask returns HTASK not HANDLE
- remove broken LargeInteger functions from wintrnl.h

svn path=/branches/ros-amd64-bringup/; revision=44818
2009-12-31 01:56:39 +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