Fix red. Replace remaining MEM's mit MEMORYSIZE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5d849a963e
commit
adf7224538
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ memory_init:
|
|||
mov r1, #0x82 @ SDRAM MODE, MPMCCLKOUT runs continuously
|
||||
str r1, [r3, #0x20] @ MPMC_DYNAMIC_CONTROL
|
||||
|
||||
ldr r1, =DRAM_ORIG+(0x2300*MEM)
|
||||
ldr r1, =DRAM_ORIG+(0x2300*MEMORYSIZE)
|
||||
ldr r1, [r1]
|
||||
|
||||
str r2, [r3, #0x20] @ MPMC_DYNAMIC_CONTROL= SDRAM NORMAL,
|
||||
|
|
|
@ -308,7 +308,7 @@ void system_init(void)
|
|||
map_section(0, 0, 0x1000, CACHE_NONE);
|
||||
|
||||
/* Enable caching for RAM */
|
||||
map_section(CONFIG_SDRAM_START, CONFIG_SDRAM_START, MEM, CACHE_ALL);
|
||||
map_section(CONFIG_SDRAM_START, CONFIG_SDRAM_START, MEMORYSIZE, CACHE_ALL);
|
||||
/* enable buffered writing for the framebuffer */
|
||||
map_section((int)FRAME, (int)FRAME, LCD_TTB_AREA, BUFFERED);
|
||||
#ifdef CREATIVE_ZVx
|
||||
|
|
|
@ -1134,7 +1134,7 @@ int flush;
|
|||
RESTORE();
|
||||
if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
|
||||
if (updatewindow(strm, out)) {
|
||||
state->mode = MEM;
|
||||
state->mode = MEMORYSIZE;
|
||||
return Z_MEM_ERROR;
|
||||
}
|
||||
in -= strm->avail_in;
|
||||
|
@ -1190,7 +1190,7 @@ uInt dictLength;
|
|||
|
||||
/* copy dictionary to window */
|
||||
if (updatewindow(strm, strm->avail_out)) {
|
||||
state->mode = MEM;
|
||||
state->mode = MEMORYSIZE;
|
||||
return Z_MEM_ERROR;
|
||||
}
|
||||
if (dictLength > state->wsize) {
|
||||
|
|
Loading…
Reference in a new issue