Commit graph

40307 commits

Author SHA1 Message Date
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
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
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
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
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
Timo Kreuzer
0752824a4b Remove the totally broken asm implementation of KeQueryPerformanceCounter and replace it with a much simpler C version using __rdtsc().
svn path=/branches/ros-amd64-bringup/; revision=44795
2009-12-28 17:53:26 +00:00
Samuel Serapion
aea03eb5bf Implement HalpInitPICs
svn path=/branches/ros-amd64-bringup/; revision=44791
2009-12-28 06:38:19 +00:00
Samuel Serapion
6d502c6def Sync to trunk (r44789)
svn path=/branches/ros-amd64-bringup/; revision=44790
2009-12-28 04:55:58 +00:00
Samuel Serapion
11bbb46220 ignore some warnings by gcc 4.4.2
svn path=/branches/ros-amd64-bringup/; revision=44789
2009-12-28 04:46:04 +00:00
Timo Kreuzer
88449605d9 Implement KiGeneralProtectionFault a bit
svn path=/branches/ros-amd64-bringup/; revision=44788
2009-12-28 04:39:02 +00:00
Samuel Serapion
c48d677ecb Fix Build.
svn path=/branches/ros-amd64-bringup/; revision=44787
2009-12-28 03:09:37 +00:00
Samuel Serapion
6fa94d46fb Fix broken merge
svn path=/branches/ros-amd64-bringup/; revision=44786
2009-12-28 03:02:12 +00:00
Samuel Serapion
5327273136 Unhack ntoskrnl, fixes many x86 regressions.
svn path=/branches/ros-amd64-bringup/; revision=44785
2009-12-28 01:37:31 +00:00
Timo Kreuzer
648db9116c remove unneded parameter
svn path=/branches/ros-amd64-bringup/; revision=44784
2009-12-28 01:28:29 +00:00
Samuel Serapion
214120100d - Fix LPBLOCKINGCALLBACK
- Don't use size_t for string sizes.
- Fixes warnings.

svn path=/branches/ros-amd64-bringup/; revision=44783
2009-12-28 01:07:10 +00:00
Timo Kreuzer
c5a84e9af7 reduce diff to trunk
svn path=/branches/ros-amd64-bringup/; revision=44782
2009-12-28 00:51:53 +00:00
Timo Kreuzer
c8743e677e [KE]
Make trap handling cleaner / simplify stack layout by using the P1Home ... P5 members of KTRAP_FRAME and KEXCEPTION_FRAME as save area for function parameters.

svn path=/branches/ros-amd64-bringup/; revision=44781
2009-12-28 00:37:29 +00:00
Timo Kreuzer
7781a0c84e spaces -> tabs in rbuild file
svn path=/trunk/; revision=44780
2009-12-27 23:54:01 +00:00
Timo Kreuzer
ea9bdd25e8 reduce differences to trunk
svn path=/branches/ros-amd64-bringup/; revision=44779
2009-12-27 22:06:48 +00:00
Timo Kreuzer
5f039ce636 fix USERMODE=0 compilation
svn path=/branches/ros-amd64-bringup/; revision=44778
2009-12-27 21:30:36 +00:00
Benedikt Freisen
d90303c704 Tool box, color palette and status bar can be hidden and shown using menu entry and/or shortcut.
svn path=/trunk/; revision=44777
2009-12-27 21:15:08 +00:00
Eric Kohl
2db30d58d2 [lsalib]
Fix indentation. No code changes.

svn path=/trunk/; revision=44776
2009-12-27 19:46:13 +00:00
James Tabor
e50eff1409 [gdi32]
- Add notes, fix CombineRgn and cleanup.

svn path=/trunk/; revision=44775
2009-12-27 19:43:46 +00:00
Eric Kohl
fc5a89cd69 Move the client-side LSA functions from secur32.dll to the new static library lsalib because these functions will be shared between ntoskrnl.exe, advapi32.dll and secur32.dll.
svn path=/trunk/; revision=44774
2009-12-27 19:10:30 +00:00
Samuel Serapion
948f940cd9 Implement KeGetTrapFrame and KeGetExceptionFrame macros.
svn path=/branches/ros-amd64-bringup/; revision=44773
2009-12-27 18:19:20 +00:00
Samuel Serapion
4c27361c3b Fix warning cast to 'unsigned int' loses precision.
svn path=/branches/ros-amd64-bringup/; revision=44772
2009-12-27 18:03:16 +00:00
Samuel Serapion
6d3684469e sync to trunk (44770)
svn path=/branches/ros-amd64-bringup/; revision=44771
2009-12-27 17:55:04 +00:00
Gregor Schneider
f8329e21a6 [win32k] Handle invalid palette index by using the first palette entry
svn path=/trunk/; revision=44770
2009-12-27 15:43:48 +00:00
Gregor Schneider
8600c8e72b [win32k]
- Set the number of mapped colors depending on the usage parameter
- Use pure PALETTERGB color values when no palette is selected
- Fixes true color issue mentioned in r44712

svn path=/trunk/; revision=44769
2009-12-27 15:08:41 +00:00
Gregor Schneider
5e86753986 [win32k]
- Create DIB section palettes with the number of colors mapped from the logical palette
- Validate logical palette access, set to black for invalid indices
- gdi32:palette test now succeeds

svn path=/trunk/; revision=44768
2009-12-27 13:02:19 +00:00
Timo Kreuzer
edd63ea0b7 [GENINC]
Lots of fixes and updates.

svn path=/trunk/; revision=44767
2009-12-26 22:55:53 +00:00
Timo Kreuzer
c300719e77 [KDBG]
Hackfix the problem with attaching to processes introduced in r44743, by lowering IRQL to passive level, although interrupts are off. Needed because KDBG calls pageable code.

svn path=/trunk/; revision=44766
2009-12-26 19:36:24 +00:00
James Tabor
be29496e50 [Win32k]
- Rewritten NtGdiCombineRgn.
- Add two function's to support locking and Rgn attributes. These function's will replace all the normal Rgn locking ones.

svn path=/trunk/; revision=44765
2009-12-26 19:19:33 +00:00
Samuel Serapion
56fd28cbe8 [rbuild]
- fix mkhive command try 2. 
- 100% tested

svn path=/branches/ros-amd64-bringup/; revision=44764
2009-12-26 06:40:23 +00:00
Samuel Serapion
46b765a5fa [rbuild]
Really fix mkhive command.

svn path=/branches/ros-amd64-bringup/; revision=44763
2009-12-26 06:23:47 +00:00
Samuel Serapion
d2c55015f1 [rbuild]
- Fix make install.
- Fix mkhive command.
- Automatically generate reactos.dff using the installfile and installbase attributes found in rbuild files.
-- Fixes race to grab reactos.dff on concurrent builds in the same tree.
-- Makes the result of make install, make livecd and make bootcd the same(some modules arent in reactos.dff but have installfile/base attributes, which means they got intto livecd/install but not bootcd!)
-- Works really great with rosapps/rostests.
-- Downside is some files now exist inside and outside the generated cab file, maybe this could be useful if we wanted to have a package that contained reactos and an app that installed it from livecd... just thinking out loud...

svn path=/branches/ros-amd64-bringup/; revision=44762
2009-12-26 06:07:38 +00:00
Gregor Schneider
ade1987d18 [win32k]
- IntGetDIBColorTable: return the number of actually copied color table entries
- DIB_CreateDIBSection: simplify calculation of palette entry count
- IntHandleSpecialColorType: remove leftover debug print

svn path=/trunk/; revision=44761
2009-12-25 17:54:41 +00:00
Eric Kohl
185c716bb3 The service thread must receive all commands.
svn path=/trunk/; revision=44760
2009-12-25 16:41:06 +00:00
Eric Kohl
d1ffae9c3b RQueryServiceConfigA/W: Add missing dependency information.
svn path=/trunk/; revision=44759
2009-12-25 15:08:03 +00:00