mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
cpu: Turn cpu_get_memory_mapping() into a CPUState hook
Change error reporting from return value to Error argument. Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> [AF: Fixed cpu_get_memory_mapping() documentation] Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
6d4d3ae77d
commit
a23bbfda75
8 changed files with 44 additions and 16 deletions
|
@ -31,8 +31,6 @@ struct MemoryMappingList {
|
|||
QTAILQ_HEAD(, MemoryMapping) head;
|
||||
};
|
||||
|
||||
int cpu_get_memory_mapping(MemoryMappingList *list, CPUArchState *env);
|
||||
|
||||
/*
|
||||
* add or merge the memory region [phys_addr, phys_addr + length) into the
|
||||
* memory mapping's list. The region's virtual address starts with virt_addr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue