Commit graph

44593 commits

Author SHA1 Message Date
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
Sylvain Petreolle 6496ec767d [CMAKE]
Add vgafonts dependency.
Thanks to AmineKhaldi.

svn path=/branches/cmake-bringup/; revision=49569
2010-11-12 13:05:10 +00:00
Sylvain Petreolle 38c38ad62d [CMAKE]
Move jscript stdole2 dependency to jsglobal.

svn path=/branches/cmake-bringup/; revision=49568
2010-11-12 12:46:54 +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
Jérôme Gardou 6b0b6cb78f [HEADERS]
- 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
2010-11-11 15:58:18 +00:00
Timo Kreuzer 5e8bd0b3df [GENINCDATA]
Fix a bug that caused excessive quotes in the output


svn path=/branches/cmake-bringup/; revision=49563
2010-11-11 15:29:20 +00:00
Timo Kreuzer 82b1bd223a [CMAKE]
Add importlib target for acledit

svn path=/branches/cmake-bringup/; revision=49562
2010-11-11 15:28:02 +00:00
Timo Kreuzer f2ab1b31c4 [ASM]
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
2010-11-11 13:40:29 +00:00
Sir Richard ef4089933a [NTOS]: Start using colored pages. This will help performance on real systems significantly as cache is now taken into account by the memory manager. Also radically changes the way page allocations are given out and creates a less uniform physical memory layout. The fact this now works means that the PFN lists are finally now sane.
svn path=/trunk/; revision=49559
2010-11-11 13:15:40 +00:00
Sir Richard d5c3a8295f [NTOS]: Use MI_PFN_ELEMENT in this code, as the extra checks done by MiGetPfnEntry are irrelevant and slow things down.
[NTOS]: Remove some old ReactOS hacks before we had MMROSPFNDATA.

svn path=/trunk/; revision=49558
2010-11-11 13:13:05 +00:00
Sir Richard 0bbcdaf47f [NTOS]: Fix a bug in MiRemovePageByColor which caused corruption of the page list and could lead to crashes, re-use of freed memory, assuming active memory was free, etc.
svn path=/trunk/; revision=49557
2010-11-11 13:08:41 +00:00
Sir Richard 7a047a7902 [NTOS]: Fix another bug in the continuous memory allocation code, which would go off-by-one while looping the PFN entries for the allocation, and corrupt the PteFrame/PteAddress of an unrelated PFN entry. If this PFN was in the active lists, it would cause page table leaks and faults, if the page was on a free list, it would override the colored list backlink and corrupt the list, later causing unlinked pages to remain linked to the list.
svn path=/trunk/; revision=49556
2010-11-11 13:05:52 +00:00