Commit graph

34 commits

Author SHA1 Message Date
Timo Kreuzer 7397aa09ad [CRT]
Get rid of the old printf code and some unused functions. 3346 lines of code less.

svn path=/trunk/; revision=50355
2011-01-11 13:13:47 +00:00
Timo Kreuzer 09f4598c1d [CRT]
Enable new printf implementation.

svn path=/trunk/; revision=50276
2011-01-03 11:22:46 +00:00
Amine Khaldi 87def142b6 [SPRINTF]
- Don't compile the new sprintf by default. Requested by Timo.

svn path=/trunk/; revision=49512
2010-11-06 15:38:43 +00:00
Timo Kreuzer bf49c46b23 [CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499
2010-11-05 22:21:36 +00:00
Art Yerkes f2e646d5b4 [CACHE]
The cache manager rewrite I started years ago has finally appeared in
ReactOS' trunk and although at this point it's not quite perfectly
integrated, it's enough to boot up the bootcd or livecd. To check out
the more mature original, check out arty-newcc-reactos, branch
arty-newcc on bitbucket.org . Amine Khaldi encouraged me quite a bit
to not give up on it, and was able to reach out and be an advocate
when i really wasn't able to.  Others agree that the time has come to
begin removing the old cache manager. I expect the remaining problems
in the version going to trunk will be taken care of relatively
quickly.

The motivation for this effort lies in the particularly hairy
relationship between ReactOS' cache manager and data sections. This
code completely removes page sharing between cache manager and section
and reimagines cache manager as being a facility layered on the memory
manager, not really caring about individual pages, but simply managing
data section objects where caching might occur.

It took me about 2 years to do the first pass of this rewrite and most
of this year to fix some lingering issues, properly implement demand
paging in ReactOS (code which didn't come with this patch in a
recognizable form), and finish getting the PrivateCacheMap and
SharedCacheMap relationship correct.

Currently, the new ntoskrnl/cache directory contains an own
implementation of data file sections. After things have settled down,
we can begin to deprecate and remove the parts of ReactOS' section
implementation that depend on a close relationship with cache
manager. Eventually, I think that the extra code added to
ntoskrnl/cache/section will be removed and ReactOS' own sections will
replace the use of the special MM_CACHE_SECTION_SEGMENT in the cache
path.

Note also, that this makes all cache manager (and new section parts)
use wide file offsets. If my section code were to take over other
parts of the ReactOS memory manager, they would also benefit from
these improvements.

I invite anyone who wants to to peek at this code and fix whatever
bugs can be found.


svn path=/trunk/; revision=49423
2010-11-02 02:32:39 +00:00
Dmitry Gorbachev abdf1ae486 Do not lie about compiler optimizations.
svn path=/trunk/; revision=41439
2009-06-17 18:17:45 +00:00
Dmitry Gorbachev ee55e122dd Make __CRT_INLINE always inline, use ceil instead of ceill.
Fixed linking when compiling with -O0, it should now work.

svn path=/trunk/; revision=41077
2009-05-23 15:02:28 +00:00
Dmitry Gorbachev eb68ff54ba - Change description of what OARCH option does.
- Add a separate TUNE option.

svn path=/trunk/; revision=38401
2008-12-28 05:12:45 +00:00
Timo Kreuzer 695eb19e19 Build MP kernel/hal by default
svn path=/trunk/; revision=38274
2008-12-22 19:22:23 +00:00
Timo Kreuzer 1f9c4940d2 Introduce new config flag BUILD_MP. Compile MP kernel and hal only when this is set to 1 to save us some time and space.
svn path=/trunk/; revision=38270
2008-12-22 15:23:08 +00:00
Colin Finck c00c841bd4 Revert my changes in r37808.
Reenable testing on undefined properties, they are treated as being empty now. This feature got lost when moving the <if> block parsing entirely to rbuild in r34852.

Should fix the Release build properly _with_ touching rbuild :-)

svn path=/trunk/; revision=37811
2008-12-02 19:05:11 +00:00
Colin Finck 61eedb351a KDBG needs DBG to be set, I can't imagine any useful situation for KDBG without DBG.
Change the <if> logic in ReactOS-general.rbuild (and ReactOS-arm.rbuild for the ARM guys) accordingly. This also supersedes DBG_OR_KDBG, which never worked properly for Release builds anyway.

Should fix the Release build without touching rbuild itself :-)

svn path=/trunk/; revision=37808
2008-12-02 11:38:23 +00:00
Hervé Poussineau 4d5f9f73ed Add a variable to include support for ELF format
svn path=/trunk/; revision=34849
2008-07-27 15:48:00 +00:00
Daniel Reimer 3d1fd7beda reactivate kdbg.
svn path=/trunk/; revision=32366
2008-02-14 22:02:57 +00:00
ReactOS Portable Systems Group c47af2fcdf Don't allow code to access the PFN database directly -- instead, always go through MiGetPfnEntry to have a controlled path.
Add assertions to this function, to make sure PFN access is always valid (previous code would sometimes KEBUGCHECK(0) without a real explenation if such cases were encounted -- but developers randomly chose which functions would be protected).
Also, since PFNs are 0-based, do allow Pfn == MmPageArraySize if someone is reading the last PFN on the system.
Finally, protect some of the functions which were accessing the PFN entries outside the PFN list lock.

svn path=/trunk/; revision=32365
2008-02-14 21:19:30 +00:00
Christoph von Wittich 5bf0c6933e enable KDBG as default
svn path=/trunk/; revision=31895
2008-01-19 18:11:12 +00:00
Aleksey Bragin c9c1def2a8 - Move preferred stack boundary = 2^2 out of the OPTIMIZE switch, because it's always defined.
- Remove assumption that GDB=1 automatically means -O0. This is wrong, optimization and debugger should be controlled independently.
- Cleanup blah-blah from config.template.rbuild.

svn path=/trunk/; revision=31435
2007-12-25 16:22:20 +00:00
Hervé Poussineau 8818f37891 Remove MP build option from config.template.rbuild
See issue #1183 for more details.

svn path=/trunk/; revision=30184
2007-11-05 16:20:30 +00:00
Daniel Reimer ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Colin Finck 47dea31217 [FORMATTING]
- Use TABs instead of spaces in some more .rbuild files
- No code changes

svn path=/trunk/; revision=29060
2007-09-15 15:20:31 +00:00
Hervé Poussineau 4b912ebbbc Clean up .rbuild files and make them xml compliant
Inspired by bug 2627

svn path=/trunk/; revision=29036
2007-09-14 17:07:53 +00:00
Aleksey Bragin 844247bb15 - Get rid of NTLPC configuration var completely.
svn path=/trunk/; revision=28942
2007-09-08 12:07:45 +00:00
Hervé Poussineau ca34acb3d6 Remove ARCH define in config.template.rbuild.
It is a duplicate of the ROS_ARCH environment variable.

svn path=/trunk/; revision=28189
2007-08-06 09:25:03 +00:00
Alex Ionescu 2d88738681 - NDK updates and compatibility fixes for Vista/WDK/User-Mode/Individual per-file NDK Usage.
- Update targets to pentium to take advantage of cmpxhg8b when possible. (ROS won't run on 386/486 anyway).
- Fix some compiler problems when building with -O3.

svn path=/trunk/; revision=26274
2007-04-07 05:33:30 +00:00
Alex Ionescu 1e35f772f8 - Enable _WINKD_ in config.rbuild. Currently set to 0 and don't set it to 1 yet because it won't build yet.
- Support _WINKD_ in ntoskrnl.rbuild to build KD64 instead of KDBG/KD if it's enabled.
- Remove some incorrect kernel exports.

svn path=/trunk/; revision=25988
2007-03-04 20:52:54 +00:00
Saveliy Tretiakov 4db9f2ba75 - Make NtUserLoadKeyboardLayoutEx accept 6 params
- Always get default locale from ntoskrnl
- Fix some small bugs


svn path=/trunk/; revision=25797
2007-02-13 19:50:06 +00:00
Magnus Olsen 7ba2de8293 part 1/2 adding a new value OPTIMIZE, easy way to enable diffent optimze level do not chamge it if u do not known what u doing
svn path=/trunk/; revision=25697
2007-02-02 13:01:43 +00:00
Alex Ionescu 6af685313a - Commit NTLPC and remove old implementation.
- Yeah, this adds another regression on top of the new Ob stuff, but in the end it's for the better, as it removes more race conditions and buggy code.
- This whole week I've fixed about 45 bugs and removed a dozen race conditions, sorry for the 2-3 regressions, they will be fixed ASAP. 
- DELETE MAKEFILE.AUTO BEFORE BUILDING THIS BUILD.

svn path=/trunk/; revision=25411
2007-01-10 04:27:40 +00:00
Alex Ionescu f176b46108 - In my fear of accidentally comitting NTLPC = 1, I forgot to make the initial NTLPC = 0 commit, so LPC was never getting compiled at all. This fixes it.
svn path=/trunk/; revision=24682
2006-10-30 19:20:08 +00:00
Klemens Friedl 0cc0655c20 Add software patent setting to build config template.
Implement the setting in freetype2 (rbuild file).

svn path=/trunk/; revision=23230
2006-07-22 19:38:18 +00:00
Saveliy Tretiakov a31a95e611 Add GDB property for debugging with gdb
svn path=/trunk/; revision=21674
2006-04-20 16:13:50 +00:00
Martin Fuchs 1fb621f227 set svn:eol-style to native for *.rbuild
svn path=/trunk/; revision=21184
2006-02-23 00:01:01 +00:00
Art Yerkes a93d77a47f Change remaining .xml build files to .rbuild and fixup links.
svn path=/trunk/; revision=21147
2006-02-18 19:21:01 +00:00
Ged Murphy 5bde3198b0 add the base .rbuild files
svn path=/trunk/; revision=21021
2006-02-16 23:32:18 +00:00
Renamed from reactos/config.template.xml (Browse further)