Mostly whitespace changes. (#511)

Requested in http://openocd.zylin.com/#/c/5821/3

Change-Id: I75e6d551091396fc6e81b3642ae44bafe358eed7
This commit is contained in:
Tim Newsome 2020-08-21 12:56:04 -07:00 committed by GitHub
parent c116dc50b2
commit 920497c62f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 35 deletions

View File

@ -2694,7 +2694,7 @@ static int read_memory_abstract(struct target *target, target_addr_t address,
bool updateaddr = true;
unsigned width32 = (width + 31) / 32 * 32;
for (uint32_t c = 0; c < count; c++) {
/* Only update the addres initially and let postincrement update it */
/* Only update the address initially and let postincrement update it */
if (updateaddr) {
/* Set arg1 to the address: address + c * size */
result = write_abstract_arg(target, 1, address, riscv_xlen(target));
@ -2759,7 +2759,7 @@ static int write_memory_abstract(struct target *target, target_addr_t address,
return result;
}
/* Only update the addres initially and let postincrement update it */
/* Only update the address initially and let postincrement update it */
if (updateaddr) {
/* Set arg1 to the address: address + c * size */
result = write_abstract_arg(target, 1, address, riscv_xlen(target));

View File

@ -117,7 +117,7 @@ typedef struct {
int (*get_register_buf)(struct target *target, uint8_t *buf, int regno);
int (*set_register_buf)(struct target *target, int regno,
const uint8_t *buf);
int (*select_current_hart)(struct target *);
int (*select_current_hart)(struct target *target);
bool (*is_halted)(struct target *target);
/* Resume this target, as well as every other prepped target that can be
* resumed near-simultaneously. Clear the prepped flag on any target that