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

[RFC PATCH 18/25] xen/riscv: Replace empty xen_arch_domainconfig with autogenerated one



Signed-off-by: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>
---
 .../xenbindgen/extra/arch-riscv/domainconfig.toml  |  4 ++++
 xen/include/public/arch-riscv.h                    |  3 ---
 xen/include/public/autogen/arch_riscv.h            | 14 ++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)
 create mode 100644 tools/rust/xenbindgen/extra/arch-riscv/domainconfig.toml
 create mode 100644 xen/include/public/autogen/arch_riscv.h

diff --git a/tools/rust/xenbindgen/extra/arch-riscv/domainconfig.toml 
b/tools/rust/xenbindgen/extra/arch-riscv/domainconfig.toml
new file mode 100644
index 000000000000..ecac1ae22b1c
--- /dev/null
+++ b/tools/rust/xenbindgen/extra/arch-riscv/domainconfig.toml
@@ -0,0 +1,4 @@
+[[structs]]
+name = "xen_arch_domainconfig"
+description = "riscv-specific domain settings."
+fields = []
diff --git a/xen/include/public/arch-riscv.h b/xen/include/public/arch-riscv.h
index 168263b92074..a199dbc6a15f 100644
--- a/xen/include/public/arch-riscv.h
+++ b/xen/include/public/arch-riscv.h
@@ -55,9 +55,6 @@ struct vcpu_guest_context {
 typedef struct vcpu_guest_context vcpu_guest_context_t;
 DEFINE_XEN_GUEST_HANDLE(vcpu_guest_context_t);
 
-struct xen_arch_domainconfig {
-};
-
 #endif
 
 /* TODO:  add a placeholder entry if no real ones surface */
diff --git a/xen/include/public/autogen/arch_riscv.h 
b/xen/include/public/autogen/arch_riscv.h
new file mode 100644
index 000000000000..e0d3aa681862
--- /dev/null
+++ b/xen/include/public/autogen/arch_riscv.h
@@ -0,0 +1,14 @@
+/*
+ * arch-riscv
+ *
+ * AUTOGENERATED. DO NOT MODIFY
+ */
+#ifndef __XEN_AUTOGEN_ARCH_RISCV_H
+#define __XEN_AUTOGEN_ARCH_RISCV_H
+
+/* riscv-specific domain settings. */
+struct xen_arch_domainconfig {
+};
+
+#endif /* __XEN_AUTOGEN_ARCH_RISCV_H */
+
-- 
2.47.0




 


Rackspace

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