Home
last modified time | relevance | path

Searched refs:hvf_reg_match (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/arm/hvf/
H A Dhvf.c317 struct hvf_reg_match { struct
322 static const struct hvf_reg_match hvf_reg_match[] = { argument
357 static const struct hvf_reg_match hvf_fpreg_match[] = {
551 for (i = 0; i < ARRAY_SIZE(hvf_reg_match); i++) { in hvf_get_registers()
552 ret = hv_vcpu_get_reg(cpu->accel->fd, hvf_reg_match[i].reg, &val); in hvf_get_registers()
553 *(uint64_t *)((void *)env + hvf_reg_match[i].offset) = val; in hvf_get_registers()
690 for (i = 0; i < ARRAY_SIZE(hvf_reg_match); i++) { in hvf_put_registers()
691 val = *(uint64_t *)((void *)env + hvf_reg_match[i].offset); in hvf_put_registers()
692 ret = hv_vcpu_set_reg(cpu->accel->fd, hvf_reg_match[i].reg, val); in hvf_put_registers()