target/arm: rename CamelCase symbols
No major cross dependencies, mostly changes internal to each file/function. Change-Id: I3f0879f0f33c6badc36a0dc60229323978a7e280 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/6338 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-by: Xiang W <wxjstz@126.com>
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
|
||||
/* Read coprocessor */
|
||||
static int dpm_mrc(struct target *target, int cpnum,
|
||||
uint32_t op1, uint32_t op2, uint32_t CRn, uint32_t CRm,
|
||||
uint32_t op1, uint32_t op2, uint32_t crn, uint32_t crm,
|
||||
uint32_t *value)
|
||||
{
|
||||
struct arm *arm = target_to_arm(target);
|
||||
@@ -62,12 +62,12 @@ static int dpm_mrc(struct target *target, int cpnum,
|
||||
return retval;
|
||||
|
||||
LOG_DEBUG("MRC p%d, %d, r0, c%d, c%d, %d", cpnum,
|
||||
(int) op1, (int) CRn,
|
||||
(int) CRm, (int) op2);
|
||||
(int) op1, (int) crn,
|
||||
(int) crm, (int) op2);
|
||||
|
||||
/* read coprocessor register into R0; return via DCC */
|
||||
retval = dpm->instr_read_data_r0(dpm,
|
||||
ARMV4_5_MRC(cpnum, op1, 0, CRn, CRm, op2),
|
||||
ARMV4_5_MRC(cpnum, op1, 0, crn, crm, op2),
|
||||
value);
|
||||
|
||||
/* (void) */ dpm->finish(dpm);
|
||||
@@ -75,7 +75,7 @@ static int dpm_mrc(struct target *target, int cpnum,
|
||||
}
|
||||
|
||||
static int dpm_mcr(struct target *target, int cpnum,
|
||||
uint32_t op1, uint32_t op2, uint32_t CRn, uint32_t CRm,
|
||||
uint32_t op1, uint32_t op2, uint32_t crn, uint32_t crm,
|
||||
uint32_t value)
|
||||
{
|
||||
struct arm *arm = target_to_arm(target);
|
||||
@@ -87,12 +87,12 @@ static int dpm_mcr(struct target *target, int cpnum,
|
||||
return retval;
|
||||
|
||||
LOG_DEBUG("MCR p%d, %d, r0, c%d, c%d, %d", cpnum,
|
||||
(int) op1, (int) CRn,
|
||||
(int) CRm, (int) op2);
|
||||
(int) op1, (int) crn,
|
||||
(int) crm, (int) op2);
|
||||
|
||||
/* read DCC into r0; then write coprocessor register from R0 */
|
||||
retval = dpm->instr_write_data_r0(dpm,
|
||||
ARMV4_5_MCR(cpnum, op1, 0, CRn, CRm, op2),
|
||||
ARMV4_5_MCR(cpnum, op1, 0, crn, crm, op2),
|
||||
value);
|
||||
|
||||
/* (void) */ dpm->finish(dpm);
|
||||
|
||||
Reference in New Issue
Block a user