added ROM/RAM translation addresses
This commit is contained in:
@@ -79,6 +79,21 @@ static uint32_t mx29lv640d_flash_sectors[] =
|
||||
};
|
||||
static const int num_flash_sectors = sizeof(mx29lv640d_flash_sectors) / sizeof(uint32_t);
|
||||
|
||||
typedef struct romram
|
||||
{
|
||||
uint32_t flash_address;
|
||||
uint32_t ram_address;
|
||||
} ROMRAM;
|
||||
|
||||
static const struct romram flash_areas[] =
|
||||
{
|
||||
/* TODO: add real addresses, leave BaS itself out for now (dangerous) */
|
||||
{ 0xe0000000, 0 }, /* EmuTOS */
|
||||
{ 0xe0000000, 0 }, /* FireTOS */
|
||||
{ 0xe0000000, 0 }, /* FPGA config */
|
||||
};
|
||||
static const int num_flash_areas = sizeof(flash_areas) / sizeof(struct romram);
|
||||
|
||||
extern err_t simulate();
|
||||
extern err_t memcpy();
|
||||
extern err_t verify();
|
||||
|
||||
Reference in New Issue
Block a user