mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-06 06:27:41 -07:00
target-microblaze: mmu: Correct masking of output addresses
Correct the masking of output addresses.
This fixes Coverity CID 1391441.
Fixes: commit 3924a9aa02
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
3b2a4d3901
commit
643fbf02e0
1 changed files with 0 additions and 1 deletions
|
|
@ -159,7 +159,6 @@ unsigned int mmu_translate(struct microblaze_mmu *mmu,
|
|||
|
||||
lu->vaddr = tlb_tag;
|
||||
lu->paddr = tlb_rpn & mmu->c_addr_mask;
|
||||
lu->paddr = tlb_rpn;
|
||||
lu->size = tlb_size;
|
||||
lu->err = ERR_HIT;
|
||||
lu->idx = i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue