Commit graph

44605 commits

Author SHA1 Message Date
Timo Kreuzer dcf8904df7 [WIN32K]
Convert asm files into new syntax

svn path=/branches/cmake-bringup/; revision=49640
2010-11-19 18:51:50 +00:00
Timo Kreuzer f5958e9cb8 [ASM]
Add more constants for ks386.inc


svn path=/branches/cmake-bringup/; revision=49639
2010-11-19 18:27:05 +00:00
Amine Khaldi b3705126a7 [CMAKE]
- Fix the remaining modules.

svn path=/branches/cmake-bringup/; revision=49638
2010-11-19 17:59:23 +00:00
Amine Khaldi 77c6616d62 [CMAKE]
- Revert back to including the definition files into the source files list.

svn path=/branches/cmake-bringup/; revision=49637
2010-11-19 17:41:48 +00:00
Amine Khaldi 478a5435a9 [CMAKE]
- Improve the _filename condition.
- Some minor formatting.

svn path=/branches/cmake-bringup/; revision=49636
2010-11-19 16:43:43 +00:00
Amine Khaldi 6a5e2c0992 [CMAKE]
- Fix libcntpr build.

svn path=/branches/cmake-bringup/; revision=49635
2010-11-19 16:42:39 +00:00
Timo Kreuzer 8dc1f0eb0e [CMAKE]
Fix dependencies, fix native-spec2def

svn path=/branches/cmake-bringup/; revision=49634
2010-11-19 16:38:25 +00:00
Amine Khaldi 70dbd8d479 [CMAKE]
- Fix gcc host tools build.

svn path=/branches/cmake-bringup/; revision=49633
2010-11-19 15:58:35 +00:00
Timo Kreuzer 9431c38607 [SPEC2DEF]
rename spec2pdef to spec2def

svn path=/branches/cmake-bringup/; revision=49632
2010-11-19 15:27:58 +00:00
Timo Kreuzer 9fcb3dd84a [CMAKE]
Hack away dxsdk for MSVC for now

svn path=/branches/cmake-bringup/; revision=49630
2010-11-19 15:16:26 +00:00
Timo Kreuzer 390cf6bc5f [CMAKE]
Add a new macro set_export_spec(), that replaces the use of spec2def + adding the generated def file to the sources
Remove EXTERNAL_OBJECT TRUE property for the generated def files.

svn path=/branches/cmake-bringup/; revision=49629
2010-11-19 14:21:18 +00:00
Timo Kreuzer 5054fc46a3 [INTRIN]
Add a workaround for __readcr4, MSVC suffers an internal error when using the intrinsic and optimization is on.

svn path=/branches/cmake-bringup/; revision=49628
2010-11-19 13:55:58 +00:00
Timo Kreuzer c1929445d7 [NDK]
Simplify NtCurrentTeb, always use intrinsics
remove GetCurrentFiber

svn path=/branches/cmake-bringup/; revision=49627
2010-11-19 13:52:12 +00:00
Amine Khaldi 9457de721a [CMAKE]
- Make nmake makefiles verbose.

svn path=/branches/cmake-bringup/; revision=49626
2010-11-19 13:51:32 +00:00
Timo Kreuzer 993ebf53f1 [NDK]
Fix 64 bit TEB definition

svn path=/branches/cmake-bringup/; revision=49624
2010-11-19 11:43:22 +00:00
Timo Kreuzer 99a1acdf7e [ASM]
Rename the target to asm, to simplify dependencies
add missing constants

svn path=/branches/cmake-bringup/; revision=49622
2010-11-19 11:11:49 +00:00
Timo Kreuzer dc0023e49d [CMAKE]
Fix typos in add_importlib_target macro, use /NOLOGO

svn path=/branches/cmake-bringup/; revision=49621
2010-11-19 10:54:05 +00:00
Timo Kreuzer d8113f9ea2 [NTDLL]
Fix typos in spec file

svn path=/branches/cmake-bringup/; revision=49620
2010-11-19 10:23:39 +00:00
Jérôme Gardou 13aeeacdb3 [CMAKE]
- Improve browseui CMakeLists.txt
  - remove stdc++ dependancy to portcls
  - improve stlport header hack

svn path=/branches/cmake-bringup/; revision=49619
2010-11-19 09:53:49 +00:00
Jérôme Gardou d738b24b6f [CMAKE]
- use correct link script file for freeldr and setupldr
  - use correct definition file for advapi32
  - don't specify name to add_bootcd_target if not needed
  - portcls is not a kernel mode driver
  - Disable stcall fixup, except for mesa32 which requires it
  - remove an useless file from minihal, add a forgotten one to freeldr

svn path=/branches/cmake-bringup/; revision=49615
2010-11-18 21:32:10 +00:00
Sylvain Petreolle 86e54f666f [CMAKE]
Add dplayx and ksproxy.ax to bootcd.

svn path=/branches/cmake-bringup/; revision=49611
2010-11-18 15:41: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 c4c880d59c [NTOSKRNL]
Don't declare a variable in the moddle of a function, MSVC gets very angry about that.

svn path=/branches/cmake-bringup/; revision=49604
2010-11-15 23:43:28 +00:00
Timo Kreuzer 440627d3df [NTOSKRNL]
Remove alloc pragmas for functions that don't exist enymore

svn path=/branches/cmake-bringup/; revision=49603
2010-11-15 22:30:20 +00:00
Timo Kreuzer ac8a48c91f [NTOSKRNL]
Fix a warning for MSVC, stub __builtin_expect

svn path=/branches/cmake-bringup/; revision=49601
2010-11-15 22:06:01 +00:00
Timo Kreuzer 1c7fc49e5f [NTOSKRNL]
Convert pspec to spec

svn path=/branches/cmake-bringup/; revision=49600
2010-11-15 21:29:58 +00:00
Timo Kreuzer d3d023aadc [HAL]
convert pspec to spec

svn path=/branches/cmake-bringup/; revision=49599
2010-11-15 21:26:06 +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 b7383087f4 revert unwanted changes
svn path=/branches/cmake-bringup/; revision=49597
2010-11-15 19:45:52 +00:00
Timo Kreuzer 3ebe2aa8f7 [FREELDR]
Add a new file realmode.S for MSVC currently only containing some stubs to resolve references. The 16 bit code needs some work to be compilable with ML.
Delete some amd64 files that only duplicated x86 16 bit code. Remove unused _alloca.S. Improve freeldr rules, add some experimental linking flags for MSVC, it links with a few warnings.

svn path=/branches/cmake-bringup/; revision=49596
2010-11-15 19:44:48 +00:00
Timo Kreuzer 47508a0b72 [GENINCDATA]
- Use 32 bit constants by default and add macros for 64 bit and pointer size. Fixes some constants.

svn path=/branches/cmake-bringup/; revision=49594
2010-11-15 19:14:56 +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 0c7d0cbc07 [CMAKE]
Add include/asm to asm include pathes

svn path=/branches/cmake-bringup/; revision=49590
2010-11-15 01:09:10 +00:00
Timo Kreuzer 07652e2631 [RTL]
Make asm files compilable with ML

svn path=/branches/cmake-bringup/; revision=49589
2010-11-15 01:03:14 +00:00
Timo Kreuzer d3652562e5 [FREELDR]
Convert fathelp.S into ML compatible code. The result is identical to the old version when compiled with gcc, but slightly different when compiled with ml. Especially the code starts at position 6 instead of 0, with a one byte text section at the top, this needs more investigation. also there is a large reg move, but that doesn't hurt. Finally the padding at the end doesn't work at all.

svn path=/branches/cmake-bringup/; revision=49588
2010-11-14 17:46:56 +00:00
Timo Kreuzer 3947c4313f [ASM}
Add .org for ML

svn path=/branches/cmake-bringup/; revision=49586
2010-11-14 13:55:05 +00:00
Timo Kreuzer ad20e16add [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=49585
2010-11-14 13:42:03 +00:00
Timo Kreuzer acead639b1 [GENINCDATA] add dependency to bugcodes, factor out definitions in template files.
[ASM] Add asm.inc, to be included in all asm files for GAS / ML compatibility

svn path=/branches/cmake-bringup/; revision=49584
2010-11-14 13:40:19 +00:00
Timo Kreuzer cbf119bf9b [FREELDR]
- Use macro __ASM__ instead of ASM
- guard #pragma once against inclusion in asm files
- Use the HEX() macro for constants for the asm files

svn path=/branches/cmake-bringup/; revision=49583
2010-11-14 13:36:25 +00:00
Timo Kreuzer 345892376c [FREELDR]
Convert arch.S to intel syntax.

svn path=/branches/cmake-bringup/; revision=49582
2010-11-14 13:25:20 +00:00
Timo Kreuzer dcfe4ea6a9 [PSDK]
Move definitions of BitScanForward and BitScanReverse out of gcc specific area

svn path=/branches/cmake-bringup/; revision=49578
2010-11-13 23:57:49 +00:00
Jérôme Gardou 078e1855fa [CMAKE]
- syssetup.inf has its place in bootcd until we generate it automatically.

svn path=/branches/cmake-bringup/; revision=49577
2010-11-13 23:49:08 +00:00
Jérôme Gardou e3dad735d4 [CMAKE]
- improve some files

svn path=/branches/cmake-bringup/; revision=49576
2010-11-13 22:23:59 +00:00
Timo Kreuzer 11a6e6c0c4 [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=49575
2010-11-13 21:06:05 +00:00
Timo Kreuzer 306ed4d40b [FREELDR]
Merge r49573

svn path=/branches/cmake-bringup/; revision=49574
2010-11-13 21:02:14 +00:00
Timo Kreuzer ea5d462bdf [FREELDR]
Convert most of the trap and blue screen code from asm to C, use KTRAP_FRAME and KSPECIAL_REGISTERS on the stack, instead of using a bunch of global variables. Convert multiply used asm code chunks into macros. Use intel syntax for remaining asm.
135 lines of C + 178 lines of asm, instead of 942 lines of asm

svn path=/trunk/; revision=49573
2010-11-13 19:48:13 +00:00
Jérôme Gardou 6d8fe9df10 [CMAKE]
- fix typo

svn path=/branches/cmake-bringup/; revision=49572
2010-11-13 00:00:04 +00:00
Jérôme Gardou eea0d56fec [CAKE]
- simplify set_image_base

svn path=/branches/cmake-bringup/; revision=49571
2010-11-12 23:52:40 +00:00
Amine Khaldi d4fdd1fa4b [CMAKE]
- Fix build.

svn path=/branches/cmake-bringup/; revision=49570
2010-11-12 13:28:23 +00:00