]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
arm: Add stub functions instead of using DUMMY
authorIan Campbell <ian.campbell@citrix.com>
Wed, 15 Feb 2012 12:24:17 +0000 (12:24 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 15 Feb 2012 12:24:17 +0000 (12:24 +0000)
Adds stubs for arch domctl and sysctl plus vcpu_op and memory_op.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <Ian.Campbell@citrix.com>
xen/arch/arm/Makefile
xen/arch/arm/domain.c
xen/arch/arm/domctl.c [new file with mode: 0644]
xen/arch/arm/dummy.S
xen/arch/arm/mm.c
xen/arch/arm/sysctl.c [new file with mode: 0644]

index 168716e16a72b7a2304a38444af6ee16f71be2a1..49b64fe34086b0f6defbbf1d33b6be314148835f 100644 (file)
@@ -4,6 +4,8 @@ obj-y += dummy.o
 obj-y += early_printk.o
 obj-y += entry.o
 obj-y += domain.o
+obj-y += domctl.o
+obj-y += sysctl.o
 obj-y += domain_build.o
 obj-y += gic.o
 obj-y += io.o
index ada89af17edd91ea04ddfa002c51605375982a8b..5fe370b14dc558c34be81605093ef5bcb33912f2 100644 (file)
@@ -255,6 +255,11 @@ void arch_dump_domain_info(struct domain *d)
 {
 }
 
+long arch_do_vcpu_op(int cmd, struct vcpu *v, XEN_GUEST_HANDLE(void) arg)
+{
+    return -ENOSYS;
+}
+
 void arch_dump_vcpu_info(struct vcpu *v)
 {
 }
diff --git a/xen/arch/arm/domctl.c b/xen/arch/arm/domctl.c
new file mode 100644 (file)
index 0000000..d957f21
--- /dev/null
@@ -0,0 +1,27 @@
+/******************************************************************************
+ * Arch-specific domctl.c
+ *
+ * Copyright (c) 2012, Citrix Systems
+ */
+
+#include <xen/config.h>
+#include <xen/types.h>
+#include <xen/lib.h>
+#include <xen/errno.h>
+#include <public/domctl.h>
+
+long arch_do_domctl(struct xen_domctl *domctl,
+                    XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
+{
+       return -ENOSYS;
+}
+
+/*
+ * Local variables:
+ * mode: C
+ * c-set-style: "BSD"
+ * c-basic-offset: 4
+ * tab-width: 4
+ * indent-tabs-mode: nil
+ * End:
+ */
index fff7d7e7d00310ff259273941b93fc068bae806c..1287e0ba464a7fd122cd2cde6b450ae4f9d91198 100644 (file)
@@ -8,12 +8,8 @@ x:     mov pc, lr
        
 DUMMY(alloc_pirq_struct);
 DUMMY(alloc_vcpu_guest_context);
-DUMMY(arch_do_domctl);
-DUMMY(arch_do_sysctl);
-DUMMY(arch_do_vcpu_op);
 DUMMY(arch_get_info_guest);
 DUMMY(arch_get_xen_caps);
-DUMMY(arch_memory_op);
 DUMMY(arch_set_info_guest);
 DUMMY(arch_vcpu_reset);
 DUMMY(create_grant_host_mapping);
index 0d6c0cada8fdd4ca519609435f114a5aafd9236b..fcab567ea93e73d962adc386923391f6434acd68 100644 (file)
@@ -320,6 +320,11 @@ void arch_dump_shared_mem_info(void)
 {
 }
 
+long arch_memory_op(int op, XEN_GUEST_HANDLE(void) arg)
+{
+    return -ENOSYS;
+}
+
 /*
  * Local variables:
  * mode: C
diff --git a/xen/arch/arm/sysctl.c b/xen/arch/arm/sysctl.c
new file mode 100644 (file)
index 0000000..50101c7
--- /dev/null
@@ -0,0 +1,29 @@
+/******************************************************************************
+ * Arch-specific sysctl.c
+ *
+ * System management operations. For use by node control stack.
+ *
+ * Copyright (c) 2012, Citrix Systems
+ */
+
+#include <xen/config.h>
+#include <xen/types.h>
+#include <xen/lib.h>
+#include <xen/errno.h>
+#include <public/sysctl.h>
+
+long arch_do_sysctl(struct xen_sysctl *sysctl,
+                   XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl)
+{
+       return -ENOSYS;
+}
+
+/*
+ * Local variables:
+ * mode: C
+ * c-set-style: "BSD"
+ * c-basic-offset: 4
+ * tab-width: 4
+ * indent-tabs-mode: nil
+ * End:
+ */