]> git.proxmox.com Git - mirror_qemu.git/commit
target/riscv: Implement riscv_cpu_unassigned_access
authorMichael Clark <mjc@sifive.com>
Fri, 17 May 2019 22:11:06 +0000 (15:11 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 24 Jun 2019 06:44:41 +0000 (23:44 -0700)
commitcbf5827693addaff4e4d2102afedbf078a204eb2
treee857c066240d7706ccd11e822d53aefdd049faec
parent49db9fa1fd7c252596b53cf80876e06f407d09ed
target/riscv: Implement riscv_cpu_unassigned_access

This patch adds support for the riscv_cpu_unassigned_access call
and will raise a load or store access fault.

Signed-off-by: Michael Clark <mjc@sifive.com>
[Changes by AF:
 - Squash two patches and rewrite commit message
 - Set baddr to the access address
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/cpu_helper.c