mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
f1925b70a0
commit
b73b067a90
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue