mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
exec: Change memory_region_section_get_iotlb() argument to CPUState
It no longer needs CPUArchState since moving watchpoints to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
baea4fae7b
commit
bb0e627a84
3 changed files with 3 additions and 4 deletions
3
exec.c
3
exec.c
|
@ -799,14 +799,13 @@ static void cpu_physical_memory_set_dirty_tracking(bool enable)
|
|||
in_migration = enable;
|
||||
}
|
||||
|
||||
hwaddr memory_region_section_get_iotlb(CPUArchState *env,
|
||||
hwaddr memory_region_section_get_iotlb(CPUState *cpu,
|
||||
MemoryRegionSection *section,
|
||||
target_ulong vaddr,
|
||||
hwaddr paddr, hwaddr xlat,
|
||||
int prot,
|
||||
target_ulong *address)
|
||||
{
|
||||
CPUState *cpu = ENV_GET_CPU(env);
|
||||
hwaddr iotlb;
|
||||
CPUWatchpoint *wp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue