]> git.sur5r.net Git - openocd/blobdiff - src/rtos/linux.c
target: Add 64-bit target address support
[openocd] / src / rtos / linux.c
index e5a4efcde697e202b175fd46c70ad1f4e6ec2ac5..3efaab133f97bc6dad71aa6a2cd7785cee5eca92 100644 (file)
@@ -105,11 +105,11 @@ static int linux_os_dummy_update(struct rtos *rtos)
        return 0;
 }
 
-static int linux_compute_virt2phys(struct target *target, uint32_t address)
+static int linux_compute_virt2phys(struct target *target, target_addr_t address)
 {
        struct linux_os *linux_os = (struct linux_os *)
                target->rtos->rtos_specific_params;
-       uint32_t pa = 0;
+       target_addr_t pa = 0;
        int retval = target->type->virt2phys(target, address, &pa);
        if (retval != ERROR_OK) {
                LOG_ERROR("Cannot compute linux virt2phys translation");