target/mips: rename CamelCase symbols
No major cross dependencies, mostly changes internal to each file/function. Change-Id: Iec58f7fe1d65f621ae0c841b5e25ef222885792b Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/6341 Tested-by: jenkins Reviewed-by: Marc Schink <dev@zapb.de> Reviewed-by: Xiang W <wxjstz@126.com>
This commit is contained in:
@@ -410,8 +410,8 @@ static int mips_mips64_set_watchpoint(struct target *target,
|
||||
* and exclude both load and store accesses from watchpoint
|
||||
* condition evaluation
|
||||
*/
|
||||
int enable = EJTAG_DBCn_NOSB | EJTAG_DBCn_NOLB | EJTAG_DBCn_BE
|
||||
| (0xff << EJTAG_DBCn_BLM_SHIFT);
|
||||
int enable = EJTAG_DBCN_NOSB | EJTAG_DBCN_NOLB | EJTAG_DBCN_BE
|
||||
| (0xff << EJTAG_DBCN_BLM_SHIFT);
|
||||
|
||||
if (watchpoint->set) {
|
||||
LOG_WARNING("watchpoint already set");
|
||||
@@ -438,13 +438,13 @@ static int mips_mips64_set_watchpoint(struct target *target,
|
||||
|
||||
switch (watchpoint->rw) {
|
||||
case WPT_READ:
|
||||
enable &= ~EJTAG_DBCn_NOLB;
|
||||
enable &= ~EJTAG_DBCN_NOLB;
|
||||
break;
|
||||
case WPT_WRITE:
|
||||
enable &= ~EJTAG_DBCn_NOSB;
|
||||
enable &= ~EJTAG_DBCN_NOSB;
|
||||
break;
|
||||
case WPT_ACCESS:
|
||||
enable &= ~(EJTAG_DBCn_NOLB | EJTAG_DBCn_NOSB);
|
||||
enable &= ~(EJTAG_DBCN_NOLB | EJTAG_DBCN_NOSB);
|
||||
break;
|
||||
default:
|
||||
LOG_ERROR("BUG: watchpoint->rw neither read, write nor access");
|
||||
|
||||
Reference in New Issue
Block a user