forked from auracaster/openocd
src: add loader src description
- add comment where to find the various loaders src files. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
@@ -1307,6 +1307,8 @@ int arm_checksum_memory(struct target *target,
|
||||
uint32_t i;
|
||||
uint32_t exit_var = 0;
|
||||
|
||||
/* see contib/loaders/checksum/armv4_5_crc.s for src */
|
||||
|
||||
static const uint32_t arm_crc_code[] = {
|
||||
0xE1A02000, /* mov r2, r0 */
|
||||
0xE3E00000, /* mov r0, #0xffffffff */
|
||||
|
||||
@@ -562,6 +562,8 @@ int armv7m_checksum_memory(struct target *target,
|
||||
struct reg_param reg_params[2];
|
||||
int retval;
|
||||
|
||||
/* see contib/loaders/checksum/armv7m_crc.s for src */
|
||||
|
||||
static const uint16_t cortex_m3_crc_code[] = {
|
||||
0x4602, /* mov r2, r0 */
|
||||
0xF04F, 0x30FF, /* mov r0, #0xffffffff */
|
||||
|
||||
@@ -613,6 +613,8 @@ int mips32_checksum_memory(struct target *target, uint32_t address,
|
||||
int retval;
|
||||
uint32_t i;
|
||||
|
||||
/* see contib/loaders/checksum/mips32.s for src */
|
||||
|
||||
static const uint32_t mips_crc_code[] =
|
||||
{
|
||||
0x248C0000, /* addiu $t4, $a0, 0 */
|
||||
|
||||
Reference in New Issue
Block a user