diff options
| author | Suraj Jitindar Singh | 2017-06-14 08:44:52 +0200 |
|---|---|---|
| committer | David Gibson | 2017-06-30 06:03:31 +0200 |
| commit | 35068bd15eec80844699173b9e7d5ccb09a6bb87 (patch) | |
| tree | e157b9e8c6843f68d7dce311579fb56083c665df /include | |
| parent | target/ppc/excp_helper: Take BQL before calling cpu_interrupt() (diff) | |
| download | qemu-35068bd15eec80844699173b9e7d5ccb09a6bb87.tar.gz qemu-35068bd15eec80844699173b9e7d5ccb09a6bb87.tar.xz qemu-35068bd15eec80844699173b9e7d5ccb09a6bb87.zip | |
target/ppc: Fix return value in tcg radix mmu fault handler
The mmu fault handler should return 0 if it was able to successfully
handle the fault and a positive value otherwise.
Currently the tcg radix mmu fault handler will return 1 after
successfully handling a fault in virtual mode. This is incorrect
so fix it so that it returns 0 in this case.
The handler already correctly returns 0 when a fault was handled
in real mode and 1 if an interrupt was generated.
Fixes: d5fee0bbe68d ("target/ppc: Implement ISA V3.00 radix page fault handler")
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
