From: Oleksii Kurochko Date: Tue, 21 May 2024 07:15:37 +0000 (+0200) Subject: xen/riscv: introduce monitor.h X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7e036f7e0caacd0ce60414ec3b8d9a1a7a83d9e3;p=people%2Froyger%2Fxen.git xen/riscv: introduce monitor.h Signed-off-by: Oleksii Kurochko Acked-by: Tamas K Lengyel --- diff --git a/xen/arch/riscv/include/asm/monitor.h b/xen/arch/riscv/include/asm/monitor.h new file mode 100644 index 0000000000..f4fe2c0690 --- /dev/null +++ b/xen/arch/riscv/include/asm/monitor.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_RISCV_MONITOR_H__ +#define __ASM_RISCV_MONITOR_H__ + +#include + +#include + +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: + */