target: Use 'bool' data type in mmu()
The variable is already used in some parts of the code as boolean value but have the wrong data type. Change-Id: I50ccbf84c6f33a3034de989789c6b17312458ea8 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8989 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
a66e6fb43f
commit
325e6d38b5
@@ -299,7 +299,7 @@ int x86_32_get_gdb_reg_list(struct target *t,
|
||||
enum target_register_class reg_class);
|
||||
int x86_32_common_init_arch_info(struct target *target,
|
||||
struct x86_32_common *x86_32);
|
||||
int x86_32_common_mmu(struct target *t, int *enabled);
|
||||
int x86_32_common_mmu(struct target *t, bool *enabled);
|
||||
int x86_32_common_virt2phys(struct target *t, target_addr_t address, target_addr_t *physical);
|
||||
int x86_32_common_read_phys_mem(struct target *t, target_addr_t phys_address,
|
||||
uint32_t size, uint32_t count, uint8_t *buffer);
|
||||
|
||||
Reference in New Issue
Block a user