mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
x1000: Centralize common definitions, memory layout
Change-Id: I8daad058ae55d4b750b1ae407153e4917de5d095
This commit is contained in:
parent
ed8c977e2f
commit
20fc928221
7 changed files with 103 additions and 56 deletions
|
|
@ -77,9 +77,9 @@ OUTPUT_FORMAT(elf32-littlemips)
|
|||
#include "cpu.h"
|
||||
#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE)
|
||||
#elif CONFIG_CPU==X1000
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#undef STUBOFFSET
|
||||
#define STUBOFFSET 0x4000
|
||||
#define DRAMSIZE (X1000_DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE)
|
||||
#endif
|
||||
|
||||
/* default to full RAM (minus codecs&plugins) unless specified otherwise */
|
||||
|
|
@ -179,7 +179,7 @@ OUTPUT_FORMAT(elf32-littlemips)
|
|||
/* The bit of IRAM that is available is used in the core */
|
||||
|
||||
#elif CONFIG_CPU == X1000
|
||||
#define DRAMORIG (0x80000000 + STUBOFFSET)
|
||||
#define DRAMORIG X1000_DRAM_BASE
|
||||
#define IRAM DRAM
|
||||
#define IRAMSIZE 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue