xen/riscv: introduce vm_event_*() functions

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2024-05-21 09:16:02 +02:00
1 parent 7e036f7e0c
commit ed1ac3e968
2 files changed
+20

No files matched your search

+1
View 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 $< $@
+19
View File
@@ -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. */
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.