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
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
- 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
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
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
- 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
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
- move stlport headers to the c++ directory
- add a specific _reactos.h configuration file for stlport
- add cerrno to c++ headers
- __declspec(nothrow) must be placed before calling convention with msvc. GCC doesn't care.
We now use our headers with both msvc and gcc.
svn path=/branches/cmake-bringup/; revision=49565
add genincdata, a module that will be compiled as a dll to provide the data for geninc to be converted into an .inc file.
svn path=/branches/cmake-bringup/; revision=49561