Commit graph

71 commits

Author SHA1 Message Date
Timo Kreuzer
ea3b37d0f8 [UUID]
Define _MIDL_USE_GUIDDEF_, this causes __decspec(selectany) to be used on the iids. This way we don't need any linker flags to silence warnings and it also fixes errors when linking later.

svn path=/branches/cmake-bringup/; revision=50573
2011-01-30 22:10:55 +00:00
Timo Kreuzer
1b18ef5578 [UUID]
Fix build with MSVC. We ignore warnings about duplicated symbols. MS uuid also contains them.

svn path=/branches/cmake-bringup/; revision=50572
2011-01-30 20:05:05 +00:00
Timo Kreuzer
96abfd1223 [UUID]
The old uuid library was one file containing all the uuids, generated from the psdk headers, which results in all GUIDs being linked, as soon as a single one is used. Also while widl creates DEFINE_GUID() entries in the header files, midl only creates "extern GUID", so this didn't work on MSVC. The new version uses iid files generated from the idl files and some extra C files. This works with both midl and widl, reduces overhead when linking uuids and is much closer to MS uuid lib.

svn path=/branches/cmake-bringup/; revision=50569
2011-01-30 14:09:38 +00:00
Timo Kreuzer
04e691ee90 [UUID]
Remove duplicate iids

svn path=/branches/cmake-bringup/; revision=50561
2011-01-29 17:58:06 +00:00
Timo Kreuzer
2d96eac29f [CRT]
add a single prototype, instead of including math.h

svn path=/branches/cmake-bringup/; revision=50537
2011-01-28 17:44:30 +00:00
Sylvain Petreolle
cac01ad6eb [CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF.
add_definitions does not apply to target, but current directory.

svn path=/branches/cmake-bringup/; revision=50535
2011-01-28 13:41:55 +00:00
Timo Kreuzer
62ff363e37 [UUID]
Add IID_IWineD3DDeviceParent for MSVC

svn path=/branches/cmake-bringup/; revision=50515
2011-01-27 16:18:47 +00:00
Timo Kreuzer
676e232576 [CMAKE]
ML64 compatibility fixes for amd64 assembly

svn path=/branches/cmake-bringup/; revision=50512
2011-01-27 13:37:21 +00:00
Timo Kreuzer
8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle
e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Timo Kreuzer
81995bfd2e [CRT]
Fix copy pasta. Spotted by rs on irc.

svn path=/branches/cmake-bringup/; revision=50495
2011-01-25 20:56:14 +00:00
Timo Kreuzer
0fab7e8671 [CRT]
On MSVC mark abs, labs and strcmp as intrinsics (needed when compiling with /O2+) and disable a warning that they are not intrinsics (when compiled with /O1)

svn path=/branches/cmake-bringup/; revision=50494
2011-01-25 20:48:56 +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
Amine Khaldi
b4e7b22469 [CMAKE]
- Fix delayimp dependency.

svn path=/branches/cmake-bringup/; revision=50324
2011-01-08 13:19:38 +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
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
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
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
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
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
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
Timo Kreuzer
b554be26f1 [CRT]
Revert renaming change to tchar.h, which does not contain any assembly

svn path=/branches/cmake-bringup/; revision=49567
2010-11-11 17:12:12 +00:00
Timo Kreuzer
ab465e66e3 [CRT]
Rename a number of .h files that contain assembly code into .inc to better reflect their purpose

svn path=/branches/cmake-bringup/; revision=49566
2010-11-11 17:10:09 +00:00
Timo Kreuzer
3742d626dc [CRT]
Add  pragma function for _wcsset on MSVC builds

svn path=/branches/cmake-bringup/; revision=49551
2010-11-10 22:15:10 +00:00
Timo Kreuzer
cfe78ef2b3 [RTL]
Instead of including ndk/asm.h, add the 2 neccessary constants to seh.s

svn path=/branches/cmake-bringup/; revision=49550
2010-11-10 22:11:12 +00:00
Timo Kreuzer
4dc6967310 [CRT]
Fix assembly syntax


svn path=/branches/cmake-bringup/; revision=49536
2010-11-08 19:21:13 +00:00
Timo Kreuzer
84b1635034 [CRT]
- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC
- Add a workaround to prevent some functions from being inlined
- Move sqrtf out of i386 directory
- Convert a number of inline assembly functions to raw assembly

svn path=/branches/cmake-bringup/; revision=49534
2010-11-08 18:36:45 +00:00
Timo Kreuzer
5f52062082 [MSVC]
Fix warnings

svn path=/branches/cmake-bringup/; revision=49532
2010-11-08 13:48:45 +00:00
Amine Khaldi
30bb25e2f0 [CMAKE]
- Improve most of the static libraries.

svn path=/branches/cmake-bringup/; revision=49479
2010-11-05 12:02:12 +00:00
Timo Kreuzer
a3623f23de [CRT]
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)

svn path=/branches/cmake-bringup/; revision=49421
2010-11-02 00:06:33 +00:00
Sylvain Petreolle
1c93be12da [CMAKE]
scrnsave: add missing dependency.

svn path=/branches/cmake-bringup/; revision=49348
2010-10-30 10:16:42 +00:00
Sylvain Petreolle
1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Sylvain Petreolle
3345c4056d [CMAKE]
Add missing psdk dependency to nt and smlib.
Fixes parallel builds.

svn path=/branches/cmake-bringup/; revision=49009
2010-10-06 08:02:25 +00:00
Amine Khaldi
afe5d2ee6e [CMAKE]
- Improve uuid and add psdk dependency.

svn path=/branches/cmake-bringup/; revision=48872
2010-09-25 14:30:47 +00:00