Commit graph

48054 commits

Author SHA1 Message Date
Thomas Faber
34e64d7748 [KMTESTS]
- Skip the remaining tests that result in assertions
- Hide KeProcessor test, as it takes very long

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53669
2011-09-10 10:48:07 +00:00
Thomas Faber
21494c6ffa [KMTESTS/OB]
- ObReference: add better tests for closing invalid handles

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53667
2011-09-10 10:38:43 +00:00
Thomas Faber
5fc56f6309 [KMTEST_OLD]
- Remove kmtest_old and kmtloader as all their functionality is included in the new test suite

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53639
2011-09-08 10:44:26 +00:00
Thomas Faber
2b6888164d [KMTestSuite]
- Sync to rostests r53632

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53638
2011-09-08 10:28:02 +00:00
Thomas Faber
2a447311fe [KMTESTS]
- Use new CMake macros in separate drivers, too
- Use kmtest_.exe filename for rbuild too

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53637
2011-09-08 10:25:40 +00:00
Rafal Harabien
8571e00fdc [WIN32K]
- Fix user32:monitor winetest failures (ClipCursor bugs)
- Protect functions in accelerator.c with SEH

svn path=/trunk/; revision=53636
2011-09-08 09:55:28 +00:00
Aleksey Bragin
c7b81786fe - Downgrade some DPRINT1s to DPRINTs.
svn path=/trunk/; revision=53635
2011-09-08 08:28:41 +00:00
Timo Kreuzer
c508185cd9 [HAL]
- Fix I/O APIC register access
- set APIC logical id based on Cpu (currently flat model with up to 8 cpus supported)
- In HalpInitializeTsc, setup the RTC clock, since the timer is initialized later
- in the TSC calibration ISR, send EOI and read RTC register C to get the next interrupt

svn path=/trunk/; revision=53634
2011-09-08 08:15:39 +00:00
Giannis Adamopoulos
7635cc18b1 [user32_apitest]
- Add some more tests hoping that SetActiveWindow will reveal its secrets

svn path=/trunk/; revision=53632
2011-09-07 23:08:14 +00:00
Timo Kreuzer
f085f50747 [HAL]
- Don't use debug prints before the debugger is even initialized
- acquire cmos spinlock when accessing the cmos registers
- Fix amd64 build

svn path=/trunk/; revision=53631
2011-09-07 21:41:50 +00:00
Eric Kohl
13f41d74b9 [RPCTR4]
- Take NetworkAddr into account when a named pipe client is opened.
- Return RPC_S_SERVER_UNAVAILABLE when an attempt to create a named pipe client fails with an ERROR_BAD_NETPATH error.
This fixes the first test failure in the advapi32 service winetest.

svn path=/trunk/; revision=53630
2011-09-07 20:11:19 +00:00
Timo Kreuzer
d78423aadc [HAL_XBOX]
Fix build

svn path=/trunk/; revision=53627
2011-09-07 18:39:20 +00:00
Timo Kreuzer
d9ab860e67 [HAL]
Fix buld. I swear it worked here!

svn path=/trunk/; revision=53626
2011-09-07 18:30:38 +00:00
Timo Kreuzer
f85bf4380d [HAL]
- give apic hal its own halinit_apic
- give minihal an own halinit_mini.c containing function stubs
- move HalInitializeProcessor to halinit.c and add hal specific function HalpInitProcessor
- get rid of all the #ifndef _MINIHAL_ in halinit.c and move the file to lib_hal_generic
- improve the hal version/build check
- Update spec file for amd64

svn path=/trunk/; revision=53625
2011-09-07 18:25:43 +00:00
Giannis Adamopoulos
2f5ccca699 [user32_apitest]
- Add a test case for SetActiveWindow that shows its behavior related to owner windows. It should point the bug observed in bug 1239

svn path=/trunk/; revision=53621
2011-09-07 14:05:58 +00:00
Timo Kreuzer
622fc9501c [NTOSKRNL]
Move the internal headers below the redefinition of types, because gcc instantiates inline function where they are defined, using the original types. Fixes build.

svn path=/trunk/; revision=53620
2011-09-07 13:58:34 +00:00
Timo Kreuzer
1799be4f5f [NTOSKRNL]
Forgot this file, sorry

svn path=/trunk/; revision=53619
2011-09-07 13:45:06 +00:00
Timo Kreuzer
7c062d812b [NTOSKRNL]
Make KeNumberProcessors internally an UCHAR and move it into krnlinit.c instead of having it once per architecture. Fixes a bunch of MSVC warnings.

svn path=/trunk/; revision=53618
2011-09-07 13:43:54 +00:00
Timo Kreuzer
6c556c3422 [HAL]
- move v86 code out of trap.S into v86.S (APIC uses a different trap entry file), compile it directly in the dll instead of a lib to be able to silence linker warnings
- Group files in HAL_PIC_SOURCE and HAL_APIC_SOURCE, you just need to replace PIC with APIC to build the hal with APIC support (we can later use it to build the other hals:  halapic, halaacpi, halmacpi, halmps)
- use apic on amd64 builds
- give halacpi its own resource file
- silence MSVC linker warnings

svn path=/trunk/; revision=53616
2011-09-07 12:00:29 +00:00
Timo Kreuzer
29f16ed6c4 [HAL]
Rename HalpAcquireSystemHardwareSpinLock to HalpAcquireCmosSpinLock

svn path=/trunk/; revision=53615
2011-09-07 10:14:48 +00:00
Rafal Harabien
a4c1f7e52a [MKHIVE]
- Fix max key name length, max value name length, max value data length properties of registry key not being set correctly
- Fixes #6042 - regedit on LiveCD shows keys and values now

svn path=/trunk/; revision=53614
2011-09-07 09:51:13 +00:00
Timo Kreuzer
b5198d7d39 [HAL]
Start implementing APIC support, which is needed for both SMP and x64. It will use the local APIC + I/O APIC for interrupt control, the RTC instead of the PIT for the timer interrupt (PIT doesn't always work with I/O APIC), the APIC timer for profiling and finally the TSC for the performance counter and KeStallExecutionProcessor.
The code is incomplete and doesn't work yet

svn path=/trunk/; revision=53611
2011-09-06 21:01:49 +00:00
Eric Kohl
2020d7c71f [MUP]
- Any attempt to open or create a file on a remote machine will return STATUS_BAD_NETWORK_PATH. This means the server is not available. Trying to create \\testserver\testshare\testdir\test.txt fails just like on Windows XP.
- Add service key and values for the MUP driver. Add the driver to the File System group because adding it to the Network group, like on Windows XP, does not load the driver.

svn path=/trunk/; revision=53609
2011-09-06 19:17:54 +00:00
Jérôme Gardou
49149fb1c8 [CMAKE]
- get rid of set_entrypoint usage for "win32" dlls

svn path=/trunk/; revision=53608
2011-09-06 17:31:25 +00:00
Timo Kreuzer
e6a91fe96a [RTL]
Add FPO information to some asm functions

svn path=/trunk/; revision=53607
2011-09-05 22:18:56 +00:00
Jérôme Gardou
4634d67e38 [RBUILD]
- qmgrprxy.dll has an entrypoint

svn path=/trunk/; revision=53606
2011-09-05 19:36:07 +00:00
Jérôme Gardou
6965d3d746 [MSVCRT]
- comment out _vswprintf export until I get more time to fix this properly

svn path=/trunk/; revision=53605
2011-09-05 19:22:44 +00:00
Jérôme Gardou
238dec164e [MSVCRT]
- some fixes to spec file, based on a wine patch by Piotr Caban

svn path=/trunk/; revision=53604
2011-09-05 19:08:11 +00:00
Dmitry Gorbachev
26975c720b [RSYM]
.stab/.stabstr sections have no IMAGE_SCN_LNK_REMOVE flag now.

svn path=/trunk/; revision=53603
2011-09-05 15:37:35 +00:00
Dmitry Gorbachev
91cb92e54c [FAT32]
Move the FAT sector buffer higher for RBuild builds, too.

svn path=/trunk/; revision=53602
2011-09-05 15:36:33 +00:00
Timo Kreuzer
5770481f78 Fix build
svn path=/trunk/; revision=53601
2011-09-05 15:28:49 +00:00
Timo Kreuzer
f627019d71 [HAL]
- Use functions instead of macros for irq<->vector<->irql translation, this will be neccessary, once apic support is there
- Disable mp hal in rbuild for now, its broken anyway

svn path=/trunk/; revision=53600
2011-09-05 15:20:07 +00:00
Aleksey Bragin
0f969dedca [NTOS]
- Fix IoCheckEaBufferValidity (IntEaLength must be signed, otherwise loop exiting condition may not trigger).
- SEH-protect ObQueryNameString (by Dmitry Chapyshev's request).

svn path=/trunk/; revision=53599
2011-09-05 15:05:56 +00:00
Aleksey Bragin
197ed4b94e [NTOS/EX]
- Remove redundant check for a previous mode. Spotted by PVS.

svn path=/trunk/; revision=53598
2011-09-05 14:27:48 +00:00
Sylvain Petreolle
ea601ab08c [CMAKE]
Don't assume CMAKE_SHARED_LIBRARY_ASM_FLAGS exists.

svn path=/trunk/; revision=53597
2011-09-05 12:41:18 +00:00
Aleksey Bragin
9ef1a74a8d [NTOS/CONFIG]
- Remove unnecessary assignments. Spotted by PVS and Dmitry Chapyshev. This may change the behaviour of that codepath, so test results are going to be observed.

svn path=/trunk/; revision=53596
2011-09-05 09:54:20 +00:00
James Tabor
f34a7454a4 [User32]
- Fixed over check conditions for deleting regions in set window region.
- Disabled offsets with window region. Fixes wine tests..

svn path=/trunk/; revision=53595
2011-09-04 21:54:57 +00:00
Amine Khaldi
b1b3c259e8 [CMAKE]
* Properly use add_target_compile_flags.

svn path=/trunk/; revision=53594
2011-09-04 21:52:37 +00:00
Jérôme Gardou
5932142777 [BUSLOGIC]
- woops, revert some accident of 53591

svn path=/trunk/; revision=53593
2011-09-04 21:08:29 +00:00
Jérôme Gardou
9a5598685c [CMAKE]
- fix msvc build

svn path=/trunk/; revision=53592
2011-09-04 21:06:02 +00:00
Jérôme Gardou
b8e2175f8e [BUSLOGIC]
- get rid of unused variable

svn path=/trunk/; revision=53591
2011-09-04 21:04:26 +00:00
Jérôme Gardou
3dfda118e9 [ATAPI]
- get rid of unused variable

svn path=/trunk/; revision=53590
2011-09-04 20:51:52 +00:00
Jérôme Gardou
baf26fb9cd [PCMCIA]
- remove #pragma once from pch

svn path=/trunk/; revision=53589
2011-09-04 20:32:19 +00:00
Jérôme Gardou
1d88605027 [CMAKE/CRT]
- disable pch for now

svn path=/trunk/; revision=53588
2011-09-04 20:27:48 +00:00
Jérôme Gardou
8f349a6383 [CMAKE]
- revert unwanted change from 53567

svn path=/trunk/; revision=53587
2011-09-04 18:41:04 +00:00
Jérôme Gardou
e293f3d468 [CMAKE]
- rostests side of r53585

svn path=/trunk/; revision=53586
2011-09-04 17:33:34 +00:00
Jérôme Gardou
e59cf523ac [CMAKE]
- enable -Werror by default on gcc build

svn path=/trunk/; revision=53585
2011-09-04 17:32:30 +00:00
Jérôme Gardou
9d3ef58063 [CMAKE/KDBG]
- fix warning

svn path=/trunk/; revision=53584
2011-09-04 17:31:12 +00:00
Jérôme Gardou
cb1f1bd555 [WIN32K]
- Avoid invalid memory write.
See issue #5969 for more details.

svn path=/trunk/; revision=53583
2011-09-04 15:58:48 +00:00
Jérôme Gardou
cb386402eb [RPCRT4]
- remove ros hack, obsoleted by r53580 and r53581

svn path=/trunk/; revision=53582
2011-09-04 15:37:42 +00:00