From 17faa897a585d906aed477fe510a7d5d3d6f2e04 Mon Sep 17 00:00:00 2001 From: Mingqiang Chi Date: Mon, 8 Apr 2019 11:09:59 +0800 Subject: [PATCH] hv:move common/io_req.c/h to dm folder renamed: common/io_req.c -> dm/io_req.c renamed: include/arch/x86/io_req.h -> include/dm/io_req.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi Reviewed-by: Jason Chen CJ Reviewed-by: Yin Fengwei --- doc/acrn.doxyfile | 2 +- hypervisor/Makefile | 2 +- hypervisor/{common => dm}/io_req.c | 0 hypervisor/include/{arch/x86 => dm}/io_req.h | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename hypervisor/{common => dm}/io_req.c (100%) rename hypervisor/include/{arch/x86 => dm}/io_req.h (100%) diff --git a/doc/acrn.doxyfile b/doc/acrn.doxyfile index 09ea42714..b40c6c5eb 100644 --- a/doc/acrn.doxyfile +++ b/doc/acrn.doxyfile @@ -803,7 +803,7 @@ INPUT = custom-doxygen/mainpage.md \ ../hypervisor/include/arch/x86/guest/vlapic.h \ ../hypervisor/include/dm/vioapic.h \ ../hypervisor/include/dm/vpic.h \ - ../hypervisor/include/arch/x86/io_req.h \ + ../hypervisor/include/dm/io_req.h \ ../hypervisor/include/arch/x86/guest/io_emul.h \ ../hypervisor/include/arch/x86/guest/assign.h \ ../hypervisor/include/common/hypercall.h \ diff --git a/hypervisor/Makefile b/hypervisor/Makefile index 9994c8f01..e8cb5ae0e 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -212,7 +212,6 @@ C_SRCS += common/hypercall.c C_SRCS += common/trusty_hypercall.c C_SRCS += common/schedule.c C_SRCS += common/vm_load.c -C_SRCS += common/io_req.c C_SRCS += common/ptdev.c C_SRCS += common/static_checks.c @@ -225,6 +224,7 @@ C_SRCS += hw/pci.c C_SRCS += dm/vpic.c C_SRCS += dm/vrtc.c C_SRCS += dm/vioapic.c +C_SRCS += dm/io_req.c C_SRCS += dm/vpci/vdev.c C_SRCS += dm/vpci/vpci.c ifeq ($(CONFIG_PARTITION_MODE),y) diff --git a/hypervisor/common/io_req.c b/hypervisor/dm/io_req.c similarity index 100% rename from hypervisor/common/io_req.c rename to hypervisor/dm/io_req.c diff --git a/hypervisor/include/arch/x86/io_req.h b/hypervisor/include/dm/io_req.h similarity index 100% rename from hypervisor/include/arch/x86/io_req.h rename to hypervisor/include/dm/io_req.h