#include "jt_flash.h"
#include "arm_gdbstub_callback.h"
#include "arm_memory_workspace.h"
#define RAM_PAGE_SIZE (32*sizeof(uint32_t)) |
The size of each page is 4 * 32 Byte = 128 Byte = 64 Halfwords = 32 Words
Referenced by activateMemMap(), changeWorkSpaceMode(), gdb_invalidate_Ram_Buffer(), gdb_invalidate_Rom_Buffer(), gdb_read_mem(), gdbLookupArmInstr(), gdbLookupThumbInstr(), InsertBreakpoint(), and useWorkspace().
enum memMapType |
possible memory Types
MMAP_T_UNUSED |
marker memMap entry is free for use |
MMAP_T_FLASH |
marker memMap entry type is FLASH-EEPROM (e.g. program text and data) |
MMAP_T_APPLICATION_FLASH |
marker memMap entry type is FLASH-EEPROM (e.g. application data) |
MMAP_T_ROM |
marker memMap entry type is ROM (e.g. program text and data) |
MMAP_T_RAM |
marker memMap entry type is RAM |
MMAP_T_REREAD_ROM |
marker memMap entry type is ROM (invalidate cache data on go) |
MMAP_T_UNREAL |
marker memMap entry type is pseudo RAM (exists in emulator, but not in real target hardware) |
MMAP_T_SFA |
marker memMap entry type is Special Function Area (e.g. on chip peripherie register) |
MMAP_T_IO |
marker memMap entry type is non accessable IO Area (e.g. on chip peripherie register) |
MMAP_T_WORKSPACE |
marker memMap entry type is RAM (debugger can load its own target program to here) |
MMAP_T_CACHE |
marker memMap entry type is RAM - used by cache system |