retval = arm966e_read_cp15(target, address, &value);
if (retval != ERROR_OK) {
command_print(CMD,
- "couldn't access reg %" PRIi32,
+ "couldn't access reg %" PRIu32,
address);
return ERROR_OK;
}
if (retval != ERROR_OK)
return retval;
- command_print(CMD, "%" PRIi32 ": %8.8" PRIx32,
+ command_print(CMD, "%" PRIu32 ": %8.8" PRIx32,
address, value);
} else if (CMD_ARGC == 2) {
uint32_t value;
retval = arm966e_write_cp15(target, address, value);
if (retval != ERROR_OK) {
command_print(CMD,
- "couldn't access reg %" PRIi32,
+ "couldn't access reg %" PRIu32,
address);
return ERROR_OK;
}
- command_print(CMD, "%" PRIi32 ": %8.8" PRIx32,
+ command_print(CMD, "%" PRIu32 ": %8.8" PRIx32,
address, value);
}
}