Replace hard-coded value of memory size

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23451 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bob Cousins 2009-10-31 23:03:34 +00:00
parent f1925b70a0
commit b73b067a90

View file

@ -123,7 +123,7 @@ static void set_page_tables(void)
map_section(0, 0, 0x1000, CACHE_NONE);
/* map RAM to 0 and enable caching for it */
map_section(0x30000000, 0, 32, CACHE_ALL);
map_section(0x30000000, 0, MEMORYSIZE, CACHE_ALL);
/* enable buffered writing for the framebuffer */
map_section((int)FRAME, (int)FRAME, 1, BUFFERED);