[ros-diffs] [sir_richard] 49744: [FREELDR]: On ARM, don't turn on maximum, hyper, ultra-slow debugging and analysis features for the heap. This, for example, reduces FreeLoader's size by 32KB+ and speeds up bo...

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Nov 23 17:17:33 UTC 2010


Author: sir_richard
Date: Tue Nov 23 17:17:32 2010
New Revision: 49744

URL: http://svn.reactos.org/svn/reactos?rev=49744&view=rev
Log:
[FREELDR]: On ARM, don't turn on maximum, hyper, ultra-slow debugging and analysis features for the heap. This, for example, reduces FreeLoader's size by 32KB+ and speeds up boot by entire seconds, as the entire heap isn't zeroed out on startup.
[FREELDR]: May I humbly suggest you do the same on x86?!

Modified:
    trunk/reactos/boot/freeldr/freeldr/rtl/bget.c

Modified: trunk/reactos/boot/freeldr/freeldr/rtl/bget.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/rtl/bget.c?rev=49744&r1=49743&r2=49744&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/rtl/bget.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/rtl/bget.c [iso-8859-1] Tue Nov 23 17:17:32 2010
@@ -407,6 +407,7 @@
 					 all buffers allocated are a
 					 multiple of this size.  This
 					 MUST be a power of two. */
+#ifndef _M_ARM
 
 #define BufDump     1		      /* Define this symbol to enable the
 					 bpoold() function which dumps the
@@ -442,6 +443,8 @@
 #define BECtl	    1		      /* Define this symbol to enable the
 					 bectl() function for automatic
 					 pool space control.  */
+#else
+#endif
 
 #include <stdio.h>
 




More information about the Ros-diffs mailing list