Commit graph

166 commits

Author SHA1 Message Date
Timo Kreuzer
5a73dc4e58 [RTL]
Add InterlockedBitTestAndSet* defines

svn path=/branches/cmake-bringup/; revision=50491
2011-01-25 18:48:26 +00:00
Timo Kreuzer
45cb5eb141 [CMAKE]
On MSVC builds, compile native SEH support into PSEH library.
This should be part of the crt, but our crt is too disorganized to handle that. The empty C file is for cmake to get the library right.

svn path=/branches/cmake-bringup/; revision=50486
2011-01-25 16:26:54 +00:00
Timo Kreuzer
87ab59ef61 [CRT]
Implement __SEH_epilog

svn path=/branches/cmake-bringup/; revision=50483
2011-01-25 09:33:37 +00:00
Timo Kreuzer
776c09f1fd [CRT]
Implement ms compatible __SEH_prolog

svn path=/branches/cmake-bringup/; revision=50482
2011-01-25 01:28:41 +00:00
Timo Kreuzer
d3f4900a66 [CRT]
compile memcmp, abs and labs on MSVC, too.

svn path=/branches/cmake-bringup/; revision=50479
2011-01-24 19:50:01 +00:00
Timo Kreuzer
0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +00:00
Timo Kreuzer
1da8f22b84 [ROSSYM]
The function dexec uses the varable p only in one location where its checked against nil, It neither initialized, not used anywhere else. This is probably a typo and b->p was meant. Yes I'm completely guessing, but this code doesn't give any other chance then guessing and it will probably not be worse then using an uninitialized variable...
@original author: please review.

svn path=/branches/cmake-bringup/; revision=50450
2011-01-20 15:39:55 +00:00
Timo Kreuzer
eb1dd36ba2 [CMAKE]
define _CRT_NONSTDC_NO_DEPRECATE for libmpg123 to silence a warning

svn path=/branches/cmake-bringup/; revision=50432
2011-01-19 13:35:09 +00:00
Amine Khaldi
a3ca9b561e [CMAKE]
- Fix rossym dependencies.

svn path=/branches/cmake-bringup/; revision=50327
2011-01-08 13:55:06 +00:00
Amine Khaldi
74811b583a [CMAKE]
- Fix more dependencies.

svn path=/branches/cmake-bringup/; revision=50326
2011-01-08 13:30:27 +00:00
Amine Khaldi
b4e7b22469 [CMAKE]
- Fix delayimp dependency.

svn path=/branches/cmake-bringup/; revision=50324
2011-01-08 13:19:38 +00:00
Amine Khaldi
dcee0f7cc5 [CMAKE]
- Fix dnslib dependency.

svn path=/branches/cmake-bringup/; revision=50323
2011-01-08 13:14:25 +00:00
Amine Khaldi
a0cb4ff5eb [CMAKE]
- Delete an unneeded lib.mak
- Don't build bin2c, we don't seem to need it.
- A minor cleanup, no functionality change intended.

svn path=/branches/cmake-bringup/; revision=50308
2011-01-07 12:11:46 +00:00
Amine Khaldi
166360a829 [CMAKE]
- Initial support of the arm toolchain/build.

svn path=/branches/cmake-bringup/; revision=50300
2011-01-06 16:57:56 +00:00
Amine Khaldi
6c0c23cb53 [CMAKE]
- Sync with trunk head (r50270)
- This also reverts r49298.

svn path=/branches/cmake-bringup/; revision=50271
2011-01-03 00:33:31 +00:00
Timo Kreuzer
158319da85 [CMAKE/ROSSYM]
Use _WIN32 instead of WIN32

svn path=/branches/cmake-bringup/; revision=50196
2010-12-28 17:12:58 +00:00
Amine Khaldi
4f505e46f5 [CMAKE]
- Arty: Add usermode addresses translation support. WIP.

svn path=/branches/cmake-bringup/; revision=50033
2010-12-15 23:37:54 +00:00
Timo Kreuzer
3e64650a54 [ROSSYM]
Silence debug prints

svn path=/branches/cmake-bringup/; revision=49953
2010-12-04 21:16:35 +00:00
Amine Khaldi
b7f44d1892 [CMAKE]
- WIP: Make rossym and its users rely on dwarf debug info. Brought to you by the Arty.

svn path=/branches/cmake-bringup/; revision=49906
2010-12-02 23:20:22 +00:00
Timo Kreuzer
c843606e23 [CMAKE]
wine depends on buildno header

svn path=/branches/cmake-bringup/; revision=49883
2010-12-01 18:28:34 +00:00
Timo Kreuzer
e2d8cf2570 [CMAKE]
Don't compile CRT_fp8.c, CRT_fp10.c and xtxtmode.c. we don't need those and MSVC complains about duplicate symbols, as it's exported from msvcrt already.

svn path=/branches/cmake-bringup/; revision=49854
2010-11-28 19:28:03 +00:00
Timo Kreuzer
498b0098dd [UUID]
Add IID_IStream and IID_IEnumDMO for MSVC

svn path=/branches/cmake-bringup/; revision=49853
2010-11-28 19:05:03 +00:00
Timo Kreuzer
a916747152 [CRT]
Implement thiscall wrapper for MSVC

svn path=/branches/cmake-bringup/; revision=49838
2010-11-28 10:14:51 +00:00
Timo Kreuzer
b8702f60f7 [UUID]
Add a number of GUIDs. They are duplicated from idl generated headers, because of a small difference between widl and midl. widl generates "DEFINE_GUID" entries for each interface, while midl generates "extern GUID" only. The latter matching MS SDK headers. If someone can think of a more elegant way of solving this, let me know.

svn path=/branches/cmake-bringup/; revision=49837
2010-11-28 10:12:35 +00:00
Timo Kreuzer
a97affe62a [CMAKE]
Fix build of msvcsup (add missing file)

svn path=/branches/cmake-bringup/; revision=49829
2010-11-27 23:47:10 +00:00
Amine Khaldi
4103cf5929 [CMAKE]
- Comment out what seems to be a missing file.

svn path=/branches/cmake-bringup/; revision=49812
2010-11-27 10:48:44 +00:00
Timo Kreuzer
dc89f45599 [CMAKE]
Add msvcsup static library for MSVC. This might be superseded by something else later.

svn path=/branches/cmake-bringup/; revision=49804
2010-11-26 23:45:30 +00:00
Sylvain Petreolle
f1283c58c6 [CMAKE]
Sync with trunk. (r49792)

svn path=/branches/cmake-bringup/; revision=49803
2010-11-26 23:33:34 +00:00
Sylvain Petreolle
cca965e6bc [CMAKE]
Add missing asm dependency.

svn path=/branches/cmake-bringup/; revision=49801
2010-11-26 23:05:46 +00:00
Timo Kreuzer
0ff3955b9b [MINGW]
Merge .CRT section into .rdata when linking to mingw lib. This silences the warnings about uninitialized constructors.

svn path=/branches/cmake-bringup/; revision=49799
2010-11-26 22:52:46 +00:00
Timo Kreuzer
cfba60d19d [LIBXML2]
add a hack around the hack

svn path=/branches/cmake-bringup/; revision=49795
2010-11-25 23:16:12 +00:00
Sylvain Petreolle
046d0e3522 [CMAKE]
ntdllsys: Add asm dependency.

svn path=/branches/cmake-bringup/; revision=49696
2010-11-21 18:37:27 +00:00
Timo Kreuzer
b9bb6eeba9 [RTL]
Add missing Interlocked definition

svn path=/branches/cmake-bringup/; revision=49690
2010-11-21 14:40:57 +00:00
Timo Kreuzer
822496fa61 [MINGW]
Remove alloca_probe_16 stub

svn path=/branches/cmake-bringup/; revision=49682
2010-11-21 12:29:35 +00:00
Timo Kreuzer
45a06d507a [RTL]
- Use portable interlocked functions in code, define them to intrinsics for x86 and x64 in the header

svn path=/branches/cmake-bringup/; revision=49680
2010-11-21 10:05:20 +00:00
Timo Kreuzer
0b8509a565 [CRT]
- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined.
- Add _ftol2

svn path=/branches/cmake-bringup/; revision=49679
2010-11-21 09:36:26 +00:00
Timo Kreuzer
1a4c47df9e [RTL]
Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86

svn path=/branches/cmake-bringup/; revision=49678
2010-11-21 01:36:51 +00:00
Timo Kreuzer
f90a97e5a6 [CRT]
- Add __readcr4 to crt to compensate for MSVC bug
- Compile strnset with MSVC

svn path=/branches/cmake-bringup/; revision=49669
2010-11-20 16:38:45 +00:00
Amine Khaldi
e11826a832 [CMAKE]
- Sync with trunk.

svn path=/branches/cmake-bringup/; revision=49668
2010-11-20 16:33:34 +00:00
Timo Kreuzer
d65aa994f7 [CRT]
Implement __alloca_probe_16

svn path=/branches/cmake-bringup/; revision=49660
2010-11-20 13:03:11 +00:00
Timo Kreuzer
cf90c329f2 [RTL]
Add stubs for RtlAddVectoredContinueHandler and RtlRemoveVectoredContinueHandler

svn path=/branches/cmake-bringup/; revision=49649
2010-11-19 23:51:02 +00:00
Timo Kreuzer
8b7d047834 [CMAKE]
- Add asm dependencies to freeldr, ntdll, crt
- Add importlib for hal and ntoskrnl
- Fix ntoskrnl spec file
- Fix resource pathes in ntoskrnl.rc

svn path=/branches/cmake-bringup/; revision=49645
2010-11-19 22:02:33 +00:00
Timo Kreuzer
5312a38c2f [CRT]
Remove unneccessary prototypes

svn path=/branches/cmake-bringup/; revision=49643
2010-11-19 18:57:51 +00:00
Timo Kreuzer
da6504af5d [CRT]
Silence a warning

svn path=/branches/cmake-bringup/; revision=49642
2010-11-19 18:56:58 +00:00
Timo Kreuzer
39f50aac50 [RTL]
Add dependency to asm

svn path=/branches/cmake-bringup/; revision=49641
2010-11-19 18:55:26 +00:00
Amine Khaldi
6a5e2c0992 [CMAKE]
- Fix libcntpr build.

svn path=/branches/cmake-bringup/; revision=49635
2010-11-19 16:42:39 +00:00
Sylvain Petreolle
d490a7349e [CMAKE]
Fix crt parallel build.

svn path=/branches/cmake-bringup/; revision=49608
2010-11-16 17:44:24 +00:00
Timo Kreuzer
406dfdbc87 [CMAKE]
Sync trunk (rr49606)

svn path=/branches/cmake-bringup/; revision=49607
2010-11-16 13:43:39 +00:00
Timo Kreuzer
1335cf4210 [CRT]
Add a number of compilation fixes for MSVC

svn path=/branches/cmake-bringup/; revision=49598
2010-11-15 20:08:49 +00:00
Timo Kreuzer
ab6c2ee54c [CRT]
incude asm.inc instead of reactos/asm.h
Fix a bug that smeaked into _chkstk

svn path=/branches/cmake-bringup/; revision=49591
2010-11-15 01:29:12 +00:00