mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
xen: Clean up map cache API naming
The map cache is a Xen thing, so its API should make this clear. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
6dbd588a41
commit
e41d7c691a
6 changed files with 50 additions and 44 deletions
|
@ -9,13 +9,11 @@
|
|||
#ifndef XEN_MAPCACHE_H
|
||||
#define XEN_MAPCACHE_H
|
||||
|
||||
void qemu_map_cache_init(void);
|
||||
uint8_t *qemu_map_cache(target_phys_addr_t phys_addr, target_phys_addr_t size, uint8_t lock);
|
||||
ram_addr_t qemu_ram_addr_from_mapcache(void *ptr);
|
||||
void qemu_invalidate_entry(uint8_t *buffer);
|
||||
void qemu_invalidate_map_cache(void);
|
||||
|
||||
#define mapcache_lock() ((void)0)
|
||||
#define mapcache_unlock() ((void)0)
|
||||
void xen_map_cache_init(void);
|
||||
uint8_t *xen_map_cache(target_phys_addr_t phys_addr, target_phys_addr_t size,
|
||||
uint8_t lock);
|
||||
ram_addr_t xen_ram_addr_from_mapcache(void *ptr);
|
||||
void xen_invalidate_map_cache_entry(uint8_t *buffer);
|
||||
void xen_invalidate_map_cache(void);
|
||||
|
||||
#endif /* !XEN_MAPCACHE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue