]> xenbits.xensource.com Git - xen.git/commitdiff
xen/riscv: introduce vm_event_*() functions
authorOleksii Kurochko <oleksii.kurochko@gmail.com>
Tue, 21 May 2024 07:16:02 +0000 (09:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 May 2024 07:16:02 +0000 (09:16 +0200)
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/arch/riscv/Makefile
xen/arch/riscv/vm_event.c [new file with mode: 0644]

index 2fefe14e7c2b4436f39dc88e3f90f52daa04cd96..1ed1a8369b5d202f89d3aa914f14620f61e4b354 100644 (file)
@@ -5,6 +5,7 @@ obj-$(CONFIG_RISCV_64) += riscv64/
 obj-y += sbi.o
 obj-y += setup.o
 obj-y += traps.o
+obj-y += vm_event.o
 
 $(TARGET): $(TARGET)-syms
        $(OBJCOPY) -O binary -S $< $@
diff --git a/xen/arch/riscv/vm_event.c b/xen/arch/riscv/vm_event.c
new file mode 100644 (file)
index 0000000..bb1fc73
--- /dev/null
@@ -0,0 +1,19 @@
+#include <xen/bug.h>
+
+struct vm_event_st;
+struct vcpu;
+
+void vm_event_fill_regs(struct vm_event_st *req)
+{
+    BUG_ON("unimplemented");
+}
+
+void vm_event_set_registers(struct vcpu *v, struct vm_event_st *rsp)
+{
+    BUG_ON("unimplemented");
+}
+
+void vm_event_monitor_next_interrupt(struct vcpu *v)
+{
+    /* Not supported on RISCV. */
+}