mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Sparc32: remove a variable used only for debugging to avoid a clang warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
a9be79d65f
commit
f368a3cea4
1 changed files with 1 additions and 3 deletions
|
|
@ -272,13 +272,11 @@ static uint32_t iommu_page_get_flags(IOMMUState *s, target_phys_addr_t addr)
|
||||||
static target_phys_addr_t iommu_translate_pa(target_phys_addr_t addr,
|
static target_phys_addr_t iommu_translate_pa(target_phys_addr_t addr,
|
||||||
uint32_t pte)
|
uint32_t pte)
|
||||||
{
|
{
|
||||||
uint32_t tmppte;
|
|
||||||
target_phys_addr_t pa;
|
target_phys_addr_t pa;
|
||||||
|
|
||||||
tmppte = pte;
|
|
||||||
pa = ((pte & IOPTE_PAGE) << 4) + (addr & ~IOMMU_PAGE_MASK);
|
pa = ((pte & IOPTE_PAGE) << 4) + (addr & ~IOMMU_PAGE_MASK);
|
||||||
DPRINTF("xlate dva " TARGET_FMT_plx " => pa " TARGET_FMT_plx
|
DPRINTF("xlate dva " TARGET_FMT_plx " => pa " TARGET_FMT_plx
|
||||||
" (iopte = %x)\n", addr, pa, tmppte);
|
" (iopte = %x)\n", addr, pa, pte);
|
||||||
|
|
||||||
return pa;
|
return pa;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue