[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 2/5] plat/common: arm: remove code related to grant table from arm



Grant table support is currently implemented only for x86,
therefore the related code should be removed from arm
to avoid compilation errors.

Signed-off-by: Dafna Hirschfeld <dafna3@xxxxxxxxx>
---
 plat/xen/Makefile.uk | 2 +-
 plat/xen/memory.c    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/plat/xen/Makefile.uk b/plat/xen/Makefile.uk
index 033ae51..c8acf9a 100644
--- a/plat/xen/Makefile.uk
+++ b/plat/xen/Makefile.uk
@@ -52,6 +52,7 @@ LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/x86/mm.c
 LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/x86/arch_events.c
 LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/x86/arch_time.c
 LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/x86/gnttab.c|x86
+LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/gnttab.c
 
 ifneq ($(XEN_HVMLITE),y)
 LIBXENPLAT_ASFLAGS-y           += -DCONFIG_PARAVIRT
@@ -77,7 +78,6 @@ LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/lcpu.c
 LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/console.c
 LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/shutdown.c
 LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/events.c
-LIBXENPLAT_SRCS-y              += $(LIBXENPLAT_BASE)/gnttab.c
 
 ifeq ($(CONFIG_XEN_XENBUS),y)
 LIBXENBUS_EXPORTS               = $(LIBXENPLAT_BASE)/xenbus/exportsyms.uk
diff --git a/plat/xen/memory.c b/plat/xen/memory.c
index f84dca7..1630e8a 100644
--- a/plat/xen/memory.c
+++ b/plat/xen/memory.c
@@ -123,6 +123,5 @@ int ukplat_memregion_get(int i, struct 
ukplat_memregion_desc *m)
 
 int _ukplat_mem_mappings_init(void)
 {
-       gnttab_init();
        return 0;
 }
-- 
2.17.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.