Commit graph

48186 commits

Author SHA1 Message Date
Timo Kreuzer
d9dd611750 [HAL]
- Flatten the directory structure
- use static libraries in cmake builds as well to save build time

svn path=/trunk/; revision=53529
2011-09-02 14:45:19 +00:00
Amine Khaldi
fec2ae66a2 [WIN32K]
* Missed this one.

svn path=/trunk/; revision=53528
2011-09-02 10:17:30 +00:00
Amine Khaldi
ff2b2aaa36 [WIN32K]
* Remove some useless asserts considering cLockObj is DWORD.

svn path=/trunk/; revision=53527
2011-09-02 09:23:20 +00:00
Timo Kreuzer
6d62252f5a [FREELDR]
- Move cleaning the shared user data to after WinLdrSetProcessorContext, as we need the new page tables to be active
- Fix indentation/coding style in registry.c
- Fix a few 64 bit warnings
- delete <arch>/ntsetup.c and rename <arch>/wlmemory.c to <arch>/winldr.c

svn path=/trunk/; revision=53526
2011-09-01 19:01:19 +00:00
Timo Kreuzer
e6fe154eef [NTOSKRNL]
Fix condition check for informing the debugger in NtMapViewOfSection
Found by Amine Khaldi

svn path=/trunk/; revision=53525
2011-09-01 18:55:12 +00:00
Timo Kreuzer
f7fc62b255 [HAL]
Don't use enums as bitfields. MSVC doesn't handle it the way gcc does. Fixes clock initialization on MSVC builds. You would wonder how the MSVC build even worked without a clock interrupt :D

svn path=/trunk/; revision=53524
2011-09-01 18:32:13 +00:00
Amine Khaldi
b1f5d761d8 [USER32]
* Attempt to fix the relocation issue in the rbuild build.

svn path=/trunk/; revision=53523
2011-09-01 17:36:34 +00:00
Thomas Faber
59f551c02b [RTL][NETSHELL]
- Fix the remaining issues from preceding commits

svn path=/trunk/; revision=53522
2011-09-01 16:58:20 +00:00
Dmitry Chapyshev
6b2123e650 - Partly revert r53519. Fix build
svn path=/trunk/; revision=53521
2011-09-01 16:27:20 +00:00
Dmitry Chapyshev
afa0818365 - Partly revert r53519
svn path=/trunk/; revision=53520
2011-09-01 16:02:16 +00:00
Dmitry Chapyshev
74b3d51978 - Fix multiple typos and bugs, found by PVS-Studio
svn path=/trunk/; revision=53519
2011-09-01 15:30:19 +00:00
Dmitry Chapyshev
72aa51ee36 - Fix build
- Fix wrong memory copying, found by PVS-Studio

svn path=/trunk/; revision=53518
2011-09-01 15:13:59 +00:00
Dmitry Chapyshev
39fa8e8b38 - Try to fix build
svn path=/trunk/; revision=53517
2011-09-01 14:57:21 +00:00
Dmitry Chapyshev
c10f3c3b14 - Fix typos, found by PVS-Studio
svn path=/trunk/; revision=53516
2011-09-01 13:18:22 +00:00
Dmitry Chapyshev
2504a4e518 - Fix typo, found by PVS-Studio
svn path=/trunk/; revision=53515
2011-09-01 12:41:50 +00:00
Dmitry Chapyshev
bb4799bafe - Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53514
2011-09-01 12:38:56 +00:00
Dmitry Chapyshev
0bedb73493 - Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53513
2011-09-01 12:34:51 +00:00
Dmitry Chapyshev
8ccd1fff32 - Fix a bug, found by PVS-Studio
svn path=/trunk/; revision=53512
2011-09-01 12:25:52 +00:00
Amine Khaldi
6376ec1631 [TRANSLATION]
Fulea Stefan <fulea.stefan> at <gmail.com> :
* Mega Romanian translation commit. Bugs 6422, 6424, 6425, 6426, 6427, 6428, 6429, 6430, 6432, 6438, 6442, 6446, 6450 and 6451.

svn path=/trunk/; revision=53511
2011-08-31 20:56:02 +00:00
Timo Kreuzer
0c902fc496 [FREELDR]
- Massively refactor the winldr code
- move common parts of LoadReactOSSetup and LoadAndBootWindows into LoadAndBootWindowsCommon
- Combine architecture specific code into 2 functions: WinLdrSetupMachineDependent prepares the main stuff and WinLdrSetProcessorContext is the last thing done before transferring control to the kernel.
- rename WinLdrTunOnPaging to WinLdrSetupMemoryLayout
- Stop wasting stack space by decreasing the number of huge text buffers used
- Don't handle x86 specific data like Tss in portable code
- Add the progressbar for reactos setup as well
- Add missing DPRINT_PELOADER to DEBUG_ALL

svn path=/trunk/; revision=53510
2011-08-31 13:47:25 +00:00
Aleksey Bragin
b93fdf2a65 - Fix build (let it be "define").
svn path=/trunk/; revision=53509
2011-08-31 10:01:33 +00:00
Jérôme Gardou
68c23bec13 [CMAKE]
- try to fix gcc build without breaking msvc

svn path=/trunk/; revision=53508
2011-08-30 21:51:13 +00:00
Jérôme Gardou
6f2e9c5d9e [CMAKE]
- fix build

svn path=/trunk/; revision=53507
2011-08-30 21:26:11 +00:00
Jérôme Gardou
3c9134c338 [WINETESTS/RPCRT4]
- fix MSVC build

svn path=/trunk/; revision=53506
2011-08-30 21:02:14 +00:00
Sylvain Petreolle
f11c2052ff Add msvcrt to KnownDLLs.
This will enforce use of reactos msvcrt when apps provide one.
Its required because cmake dlls currently depend on msvcrt for their startup code.

svn path=/trunk/; revision=53505
2011-08-30 21:01:44 +00:00
Jérôme Gardou
dba0fbb3a2 [CMAKE/MSVC]
- use /h to specify header file name when producing rpc proxy file.
Don't ask me why /header doesn't work, I have no idea.

svn path=/trunk/; revision=53504
2011-08-30 21:01:16 +00:00
Jérôme Gardou
0248645f79 [WINETESTS/RPCRT4]
Until now, rpcrt4 winetests where badly broken : client calls remotely forwarded to serverside functions which called... client side functions. One has to wonder how testbot survived the operation
- Cmake : fix that
- rbuild : add a hack keeping the old behaviour, because I don't know how to make this right

svn path=/trunk/; revision=53503
2011-08-30 20:49:31 +00:00
Jérôme Gardou
597370501d [WINETEST/ADVAPI32]
- use a service name that exists on Reactos

svn path=/trunk/; revision=53502
2011-08-30 20:41:27 +00:00
Cameron Gutman
5c318a1fa0 [ACPI]
- Assign unique IDs to all special case devices (thermal zones, power resources, processors, power/sleep buttons)

svn path=/trunk/; revision=53501
2011-08-30 20:35:31 +00:00
Timo Kreuzer
fcea4abdca [NTOSKRNL]
Update amd64 kd64 from ros-amd64-bringup

svn path=/trunk/; revision=53498
2011-08-30 14:43:11 +00:00
Timo Kreuzer
fe0013fd3d [HAL]
Small cleanup and fix amd64 build (don't use the PIT)

svn path=/trunk/; revision=53497
2011-08-30 14:19:10 +00:00
Timo Kreuzer
ee0c854ff6 [HAL]
We cannot make any assumptions about the latency whith which the timer interrupt fires after a rollover, since VBox (other VMs probably as well) doesn't always meet this. Add another check to KeQueryPerformanceCounter that gracefully handles missing interrupts. Also raise to DISPATCH_LEVEL, since the function is not reentrant.

svn path=/trunk/; revision=53496
2011-08-30 12:01:01 +00:00
Timo Kreuzer
e03d0348d9 [HAL]
- Rewrite KeQueryPerformanceCounter in C
- Implement support for changing the clock rate

svn path=/trunk/; revision=53495
2011-08-30 08:52:17 +00:00
Timo Kreuzer
79517b3d28 [INTRIN]
- add  __nop()

svn path=/trunk/; revision=53494
2011-08-29 23:10:04 +00:00
Giannis Adamopoulos
4ce3a2325c [win32k]
- attempt to fix build

svn path=/trunk/; revision=53493
2011-08-29 17:49:01 +00:00
Giannis Adamopoulos
a7c3cdcc02 [win32k]
- revert r53355.
- it's changes are not needed as wine's spy channel is better, and this time we will get rid of all unwanted changes ( my previous commit did not fix all unwanted changes)

svn path=/trunk/; revision=53492
2011-08-29 17:30:11 +00:00
Amine Khaldi
357baab895 [WIN32K]
* Revert r53487 (and as a result 53490) as per Giannis (the committer) suggestion. It broke testbot and he couldn't look into it at the moment.

svn path=/trunk/; revision=53491
2011-08-29 14:57:06 +00:00
Amine Khaldi
5379960831 [WIN32K]
* The previous commit (r53487) mentioned a revert, but the patch didn't reflect it. Spotted by Victor.

svn path=/trunk/; revision=53490
2011-08-29 14:32:30 +00:00
Amine Khaldi
fc340c26f9 [CMAKE]
* Fix the ar variable. Missed in r53488.

svn path=/trunk/; revision=53489
2011-08-29 13:43:15 +00:00
Sylvain Petreolle
b2333da2b1 [CMAKE]
Let cmake find mingw32-ar by itself on *nix, otherwise cmake errors out.
See http://www.mail-archive.com/cmake@cmake.org/msg27491.html for details.


svn path=/trunk/; revision=53488
2011-08-29 13:15:14 +00:00
Giannis Adamopoulos
e70e1be300 [win32k]
-revert an unwanted change from r53355

svn path=/trunk/; revision=53487
2011-08-29 12:49:51 +00:00
Timo Kreuzer
847bea9af1 [KDBG]
Don't enable int3 first chance handling by default. Should fix ntdll exception winetest. Found by Arty.

svn path=/trunk/; revision=53486
2011-08-29 00:15:29 +00:00
Jérôme Gardou
5b92dc9a27 [SYSSETUP]
- fix WCHAR/TCHAR confusion

svn path=/trunk/; revision=53485
2011-08-28 22:39:50 +00:00
Amine Khaldi
84a8b80b52 [CMAKE]
* Fix jom use with WDK builds.

svn path=/trunk/; revision=53484
2011-08-28 18:35:35 +00:00
Thomas Faber
11935531f9 [CMAKE]
- Remove some hacks from ntdll and msvcrt build files
- Bring msvcrt* files in better sync

svn path=/trunk/; revision=53483
2011-08-28 18:28:18 +00:00
Jérôme Gardou
d7548bc164 [KERNEL32]
- do not access memory that might have been freed

svn path=/trunk/; revision=53482
2011-08-28 17:30:25 +00:00
Jérôme Gardou
e95dd604c1 [WIDL]
- reenable -Oif flag, it's too good to be disabled
With this commit, advapi32:service winetest suffers only 2 failures.

svn path=/trunk/; revision=53481
2011-08-28 15:37:01 +00:00
Jérôme Gardou
2edefc21c4 [WIDL]
- duplicate type entry for parameters with the range attribute.
This fixes the problem that Eric Kohl detected.
This has already been sent to wine.

svn path=/trunk/; revision=53480
2011-08-28 15:32:08 +00:00
Timo Kreuzer
b011354030 [INTRIN]
Add missing memory barriers to _enable, _disable and __halt

svn path=/trunk/; revision=53479
2011-08-28 12:40:55 +00:00
Cameron Gutman
c96c07424b [ACPI]
- Report a unique instance ID that can be used to identify different processors
- Device Manager now displays one processor device per CPU

svn path=/trunk/; revision=53478
2011-08-27 23:58:45 +00:00