Saving 4k idle ram usage for zlib
Øyvind Harboe
oyvind.harboe@zylin.com
Fri Apr 23 08:37:00 GMT 2004
While going through the map file, I found that there were various
unchanging global data that where not defined as constants and hence
placed in RAM.
Is there any interest in committing such changes?
There are a handful of other sites like this one.
--
Ãyvind Harboe
http://www.zylin.com
-------------- next part --------------
? diff.txt
? emacs.exe.stackdump
? lessmem.txt
? compat/emacs.exe.stackdump
? devs/diff.txt
? devs/serial/opencores
? devs/serial/generic/16x5x/current/rimichanges.txt
? fs/jffs2/config.txt
? fs/jffs2/current/src/ll.txt
? fs/rom/current/support/xx.h
? hal/diff.txt
? hal/arm/at91/eb40a/current/cdl/foo.txt
? io/ll.txt
? services/lua
Index: ecos.db
===================================================================
RCS file: /cvs/ecos/ecos/packages/ecos.db,v
retrieving revision 1.122
diff -a -w -u -r1.122 ecos.db
--- ecos.db 14 Apr 2004 15:08:56 -0000 1.122
+++ ecos.db 23 Apr 2004 08:21:40 -0000
@@ -1020,6 +1020,15 @@
description "PC serial device drivers"
}
+package CYGPKG_IO_SERIAL_OPENCORES_16550 {
+ alias { "Opencores 16550 serial device drivers"
+ devs_serial_opencores_16550 }
+ hardware
+ directory devs/serial/opencores
+ script ser_opencores.cdl
+ description "Opencores 16550 serial device drivers"
+}
Index: services/compress/zlib/current/src/inffixed.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/services/compress/zlib/current/src/inffixed.h,v
retrieving revision 1.1
diff -a -w -u -r1.1 inffixed.h
--- services/compress/zlib/current/src/inffixed.h 6 Apr 2001 17:20:41 -0000 1.1
+++ services/compress/zlib/current/src/inffixed.h 23 Apr 2004 08:22:33 -0000
@@ -9,7 +9,7 @@
local uInt fixed_bl = 9;
local uInt fixed_bd = 5;
-local inflate_huft fixed_tl[] = {
+local const inflate_huft const fixed_tl [] = {
{{{96,7}},256}, {{{0,8}},80}, {{{0,8}},16}, {{{84,8}},115},
{{{82,7}},31}, {{{0,8}},112}, {{{0,8}},48}, {{{0,9}},192},
{{{80,7}},10}, {{{0,8}},96}, {{{0,8}},32}, {{{0,9}},160},
@@ -139,7 +139,7 @@
{{{82,7}},27}, {{{0,8}},111}, {{{0,8}},47}, {{{0,9}},191},
{{{0,8}},15}, {{{0,8}},143}, {{{0,8}},79}, {{{0,9}},255}
};
-local inflate_huft fixed_td[] = {
+local const inflate_huft fixed_td[] = {
{{{80,5}},1}, {{{87,5}},257}, {{{83,5}},17}, {{{91,5}},4097},
{{{81,5}},5}, {{{89,5}},1025}, {{{85,5}},65}, {{{93,5}},16385},
{{{80,5}},3}, {{{88,5}},513}, {{{84,5}},33}, {{{92,5}},8193},
More information about the Ecos-patches
mailing list