Commit graph

40654 commits

Author SHA1 Message Date
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
Cameron Gutman
fb4eec0d30 [IP]
- Fix a small locking issue in TCPClose

svn path=/branches/aicom-network-branch/; revision=44845
2010-01-01 05:58:37 +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
Cameron Gutman
8dd3966ba9 [TCPIP, IP]
- Completely rewrite (again) the locking code and use references to ensure that the connection doesn't get freed while completing requests (the most frequent cause of crashes)
 - Remove DrainSignals and complete requests inside HandleSignalledConnection instead of doing them in a separate thread (increases speed a lot)
[OSKITTCP]
 - Don't clear the socket context in OskitTCPClose because we would end up in HandleSignalledConnection without a connection (which we don't support anymore after eliminating DrainSignals)
 - Change the check performed to see if a socket is dying so we support connection dying after calling OskitTCPClose
[AFD]
 - Remove leftover ASSERTs which fail after the changes to tcpip (they were wrong in the first place because we call into tcpip at DISPATCH_LEVEL sometimes)

svn path=/branches/aicom-network-branch/; revision=44839
2009-12-31 23:33:24 +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
Cameron Gutman
175500c30b - Forgot this file
svn path=/branches/aicom-network-branch/; revision=44811
2009-12-30 12:53:47 +00:00
Cameron Gutman
2caa9c0981 [IP]
- Bind to the address specified in AddressFile instead of always binding to the outgoing interface's unicast address
 - Get the NCE using the local address (if specified) so we don't end up sending from one interface using another interface's  address as the source

svn path=/branches/aicom-network-branch/; revision=44810
2009-12-30 12:46:14 +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
Samuel Serapion
8403dd605f Add definitions for the x86bios emulator.
http://www.geoffchappell.com/viewer.htm?doc=studies/windows/km/hal/api/x86bios/index.htm

svn path=/branches/ros-amd64-bringup/; revision=44807
2009-12-30 07:53:02 +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
Hervé Poussineau
9d97bda0a9 [freeldr] Never unmap hyperspace or HAL entries. Fixes boot problems with more than 1GB of RAM
svn path=/trunk/; revision=44805
2009-12-29 20:43:01 +00:00
Gregor Schneider
b13b720381 [win32k]
- Add mask offset coordinates to GreStretchBltMask parameters, add code to handle a mask offset
- Only fail if the mask is smaller than the color bitmap, print sizes in this case
- Adapt callers to GreStretchBltMask changes
- DrawIcon: use new features to combine mask and color images
- Mouse control panel now shows cursors again (masks still need some work), fixes ~15 user32:cursoricon tests

svn path=/trunk/; revision=44803
2009-12-29 18:21:00 +00:00
Gregor Schneider
f8e8de57e0 [user32]
- Merge icon and cursor creation into one function, fix height assumptions
- Remove code preventing color cursors to be selected
- Winamp cursor is now shown correctly, bug #4370

svn path=/trunk/; revision=44802
2009-12-29 18:03:16 +00:00
Gregor Schneider
ff89b8ac95 [taskmgr]
- Allow task manager to activate and restore a previous instance when the mutex already exists
- Make application title identical to the window title for languages where it wasn't

svn path=/trunk/; revision=44801
2009-12-29 17:55:44 +00:00
Aleksey Bragin
e30be53d56 Cameron Gutman
- Add the ability to install SMBus controllers automatically.
See issue #3361 for more details.

svn path=/trunk/; revision=44799
2009-12-29 13:53:28 +00:00
Timo Kreuzer
1a46e2dfde Add ksamd64.h. This is a temporary solution until it's autogenerated. Note to self: veryfy offsets before using them!
svn path=/branches/ros-amd64-bringup/; revision=44798
2009-12-28 20:03:17 +00:00