Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.6 20 lines 424 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2#ifndef SELFTEST_KVM_UCALL_H 3#define SELFTEST_KVM_UCALL_H 4 5#include "processor.h" 6 7#define UCALL_EXIT_REASON KVM_EXIT_RISCV_SBI 8 9static inline void ucall_arch_init(struct kvm_vm *vm, vm_paddr_t mmio_gpa) 10{ 11} 12 13static inline void ucall_arch_do_ucall(vm_vaddr_t uc) 14{ 15 sbi_ecall(KVM_RISCV_SELFTESTS_SBI_EXT, 16 KVM_RISCV_SELFTESTS_SBI_UCALL, 17 uc, 0, 0, 0, 0, 0); 18} 19 20#endif