move xen-mapcache.c to hw/i386/xen/
move xen-mapcache.c to hw/i386/xen/ Signed-off -by: Anthony Xu <anthony.xu@intel.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
parent
93d43e7e11
commit
28b99f473b
@ -149,9 +149,6 @@ obj-y += dump.o
|
|||||||
obj-y += migration/ram.o migration/savevm.o
|
obj-y += migration/ram.o migration/savevm.o
|
||||||
LIBS := $(libs_softmmu) $(LIBS)
|
LIBS := $(libs_softmmu) $(LIBS)
|
||||||
|
|
||||||
# xen support
|
|
||||||
obj-$(CONFIG_XEN_I386) += xen-mapcache.o
|
|
||||||
|
|
||||||
# Hardware support
|
# Hardware support
|
||||||
ifeq ($(TARGET_NAME), sparc64)
|
ifeq ($(TARGET_NAME), sparc64)
|
||||||
obj-y += hw/sparc64/
|
obj-y += hw/sparc64/
|
||||||
|
@ -39,7 +39,6 @@ CONFIG_TPM_TIS=$(CONFIG_TPM)
|
|||||||
CONFIG_MC146818RTC=y
|
CONFIG_MC146818RTC=y
|
||||||
CONFIG_PCI_PIIX=y
|
CONFIG_PCI_PIIX=y
|
||||||
CONFIG_WDT_IB700=y
|
CONFIG_WDT_IB700=y
|
||||||
CONFIG_XEN_I386=$(CONFIG_XEN)
|
|
||||||
CONFIG_ISA_DEBUG=y
|
CONFIG_ISA_DEBUG=y
|
||||||
CONFIG_ISA_TESTDEV=y
|
CONFIG_ISA_TESTDEV=y
|
||||||
CONFIG_VMPORT=y
|
CONFIG_VMPORT=y
|
||||||
|
@ -39,7 +39,6 @@ CONFIG_TPM_TIS=$(CONFIG_TPM)
|
|||||||
CONFIG_MC146818RTC=y
|
CONFIG_MC146818RTC=y
|
||||||
CONFIG_PCI_PIIX=y
|
CONFIG_PCI_PIIX=y
|
||||||
CONFIG_WDT_IB700=y
|
CONFIG_WDT_IB700=y
|
||||||
CONFIG_XEN_I386=$(CONFIG_XEN)
|
|
||||||
CONFIG_ISA_DEBUG=y
|
CONFIG_ISA_DEBUG=y
|
||||||
CONFIG_ISA_TESTDEV=y
|
CONFIG_ISA_TESTDEV=y
|
||||||
CONFIG_VMPORT=y
|
CONFIG_VMPORT=y
|
||||||
|
@ -1 +1 @@
|
|||||||
obj-y += xen_platform.o xen_apic.o xen_pvdevice.o xen-hvm.o
|
obj-y += xen_platform.o xen_apic.o xen_pvdevice.o xen-hvm.o xen-mapcache.o
|
||||||
|
@ -15,3 +15,9 @@ cpu_ioreq_pio(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64
|
|||||||
cpu_ioreq_pio_read_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio read reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
|
cpu_ioreq_pio_read_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio read reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
|
||||||
cpu_ioreq_pio_write_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio write reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
|
cpu_ioreq_pio_write_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio write reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
|
||||||
cpu_ioreq_move(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p copy dir=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
|
cpu_ioreq_move(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p copy dir=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
|
||||||
|
|
||||||
|
# xen-mapcache.c
|
||||||
|
xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
|
||||||
|
xen_remap_bucket(uint64_t index) "index %#"PRIx64
|
||||||
|
xen_map_cache_return(void* ptr) "%p"
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <xen/hvm/params.h>
|
#include <xen/hvm/params.h>
|
||||||
|
|
||||||
#include "sysemu/xen-mapcache.h"
|
#include "sysemu/xen-mapcache.h"
|
||||||
#include "trace-root.h"
|
#include "trace.h"
|
||||||
|
|
||||||
|
|
||||||
//#define MAPCACHE_DEBUG
|
//#define MAPCACHE_DEBUG
|
@ -48,11 +48,6 @@ spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
|
|||||||
spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
|
spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
|
||||||
spice_vmc_event(int event) "spice vmc event %d"
|
spice_vmc_event(int event) "spice vmc event %d"
|
||||||
|
|
||||||
# xen-mapcache.c
|
|
||||||
xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
|
|
||||||
xen_remap_bucket(uint64_t index) "index %#"PRIx64
|
|
||||||
xen_map_cache_return(void* ptr) "%p"
|
|
||||||
|
|
||||||
# monitor.c
|
# monitor.c
|
||||||
monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p"
|
monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p"
|
||||||
monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
|
monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
|
||||||
|
Loading…
Reference in New Issue
Block a user