target: convert 'unsigned' to 'unsigned int'
Conversion done with checkpatch --fix-inplace -types UNSPECIFIED_INT Ignore the cast as they could be better addressed. Fix only minor additional checkpatch issue (spacing and line length). Use Checkpatch-ignore below for the function pointers in the file 'armv7a_cache_l2x.h' that do not assign the identifier names to the function arguments. Most of these struct are unused and should be fixed or dropped. Checkpatch-ignore: FUNCTION_ARGUMENTS Change-Id: I8f27e68eb3502e431c1ba801b362358105f9f2dc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8480 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
@@ -40,20 +40,22 @@
|
||||
#define MIPS64_PRACC_ADDR_STEP 4
|
||||
#define MIPS64_PRACC_DATA_STEP 8
|
||||
|
||||
int mips64_pracc_read_mem(struct mips_ejtag *ejtag_info, uint64_t addr, unsigned size, unsigned count, void *buf);
|
||||
int mips64_pracc_write_mem(struct mips_ejtag *ejtag_info, uint64_t addr, unsigned size, unsigned count, void *buf);
|
||||
int mips64_pracc_read_mem(struct mips_ejtag *ejtag_info, uint64_t addr, unsigned int size,
|
||||
unsigned int count, void *buf);
|
||||
int mips64_pracc_write_mem(struct mips_ejtag *ejtag_info, uint64_t addr, unsigned int size,
|
||||
unsigned int count, void *buf);
|
||||
|
||||
int mips64_pracc_read_regs(struct mips_ejtag *ejtag_info, uint64_t *regs);
|
||||
int mips64_pracc_write_regs(struct mips_ejtag *ejtag_info, uint64_t *regs);
|
||||
|
||||
int mips64_pracc_exec(struct mips_ejtag *ejtag_info,
|
||||
unsigned code_len, const uint32_t *code,
|
||||
unsigned num_param_in, uint64_t *param_in,
|
||||
unsigned num_param_out, uint64_t *param_out);
|
||||
unsigned int code_len, const uint32_t *code,
|
||||
unsigned int num_param_in, uint64_t *param_in,
|
||||
unsigned int num_param_out, uint64_t *param_out);
|
||||
|
||||
int mips64_pracc_fastdata_xfer(struct mips_ejtag *ejtag_info,
|
||||
struct working_area *source,
|
||||
bool write_t, uint64_t addr,
|
||||
unsigned count, uint64_t *buf);
|
||||
unsigned int count, uint64_t *buf);
|
||||
|
||||
#endif /* OPENOCD_TARGET_MIPS64_PRACC_H */
|
||||
|
||||
Reference in New Issue
Block a user