]> xenbits.xensource.com Git - xen.git/commitdiff
xen/riscv: introduce monitor.h
authorOleksii Kurochko <oleksii.kurochko@gmail.com>
Tue, 21 May 2024 07:15:37 +0000 (09:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 May 2024 07:15:37 +0000 (09:15 +0200)
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/arch/riscv/include/asm/monitor.h [new file with mode: 0644]

diff --git a/xen/arch/riscv/include/asm/monitor.h b/xen/arch/riscv/include/asm/monitor.h
new file mode 100644 (file)
index 0000000..f4fe2c0
--- /dev/null
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __ASM_RISCV_MONITOR_H__
+#define __ASM_RISCV_MONITOR_H__
+
+#include <xen/bug.h>
+
+#include <asm-generic/monitor.h>
+
+struct domain;
+
+static inline uint32_t arch_monitor_get_capabilities(struct domain *d)
+{
+    BUG_ON("unimplemented");
+    return 0;
+}
+
+#endif /* __ASM_RISCV_MONITOR_H__ */
+
+/*
+ * Local variables:
+ * mode: C
+ * c-file-style: "BSD"
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ */