Commit graph

47981 commits

Author SHA1 Message Date
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
Jérôme Gardou 26a81f2aa2 [STI]
- we have an entry point.

svn path=/trunk/; revision=53581
2011-09-04 15:29:15 +00:00
Jérôme Gardou bde15eb421 [ACTCXPRXY]
- we have an entry point, provided by rpc proxy data

svn path=/trunk/; revision=53580
2011-09-04 15:19:10 +00:00
Eric Kohl 7f50216c38 [SERVICES]
RStartServiceA: Convert the ANSI start arguments vector to a UNICODE vector and pass it to ScmStartService. Calls to StartServiceA can now be used to pass arguments to a starting service.

svn path=/trunk/; revision=53579
2011-09-04 14:42:08 +00:00
Jérôme Gardou acbe8f03e5 [PSDK]
- put NOGDI guard at the right place...

svn path=/trunk/; revision=53578
2011-09-04 14:09:14 +00:00
Jérôme Gardou f41f1865c6 [WINETESTS/WININET]
- fix warnings

svn path=/trunk/; revision=53577
2011-09-04 13:09:16 +00:00
Jérôme Gardou 92b4703b90 [WINETESTS/URLMON]
- fix warnings

svn path=/trunk/; revision=53576
2011-09-04 13:01:38 +00:00
Sylvain Petreolle 152a7cc18d [WINETESTS]
Allow to run skipped test in interactive mode.

svn path=/trunk/; revision=53575
2011-09-04 12:26:49 +00:00
Jérôme Gardou e448d722f6 [PSDK]
- fix compilation for any fool wanting to use our headers outside of NT 5.2 scope

svn path=/trunk/; revision=53573
2011-09-04 12:08:54 +00:00
Eric Kohl 7a18610b01 [ADVAPI32]
Pass service start arguments to ANSI services too. Clean up the service start code.

svn path=/trunk/; revision=53572
2011-09-04 12:01:27 +00:00
Jérôme Gardou acda44fd71 [WINETESTS/GDI32]
- fix warnings

svn path=/trunk/; revision=53571
2011-09-04 11:31:17 +00:00
Amine Khaldi e81af210d3 [CMAKE/DLLS]
* Set some imports as delay-loaded.

svn path=/trunk/; revision=53570
2011-09-04 00:52:28 +00:00
Jérôme Gardou 1ee26b07cf [LWIP]
- fix warning in ros glue code

svn path=/trunk/; revision=53569
2011-09-04 00:31:13 +00:00
Jérôme Gardou a52963082d [ROSSYM_NEW]
- fix some warnings
- fix function prototype. This might fix usermode stack logs

svn path=/trunk/; revision=53568
2011-09-03 23:56:04 +00:00