From 492d30fecb61dba9396eaa987acbd6307ff90b22 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Tue, 23 Nov 2010 17:17:32 +0000 Subject: [PATCH] [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?! svn path=/trunk/; revision=49744 --- reactos/boot/freeldr/freeldr/rtl/bget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reactos/boot/freeldr/freeldr/rtl/bget.c b/reactos/boot/freeldr/freeldr/rtl/bget.c index cff04fa7204..60f0dcae93e 100644 --- a/reactos/boot/freeldr/freeldr/rtl/bget.c +++ b/reactos/boot/freeldr/freeldr/rtl/bget.c @@ -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