[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC XEN PATCH 15/23] riscv: Add traps.c
From: Alistair Francis <alistair.francis@xxxxxxx> Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx> --- xen/arch/riscv/traps.c | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 xen/arch/riscv/traps.c diff --git a/xen/arch/riscv/traps.c b/xen/arch/riscv/traps.c new file mode 100644 index 0000000000..d0147a527f --- /dev/null +++ b/xen/arch/riscv/traps.c @@ -0,0 +1,56 @@ +/* + * RISC-V Trap handlers + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include <xen/domain_page.h> +#include <xen/errno.h> +#include <xen/hypercall.h> +#include <xen/init.h> +#include <xen/iocap.h> +#include <xen/irq.h> +#include <xen/lib.h> +#include <xen/livepatch.h> +#include <xen/mem_access.h> +#include <xen/mm.h> +#include <xen/perfc.h> +#include <xen/smp.h> +#include <xen/softirq.h> +#include <xen/string.h> +#include <xen/symbols.h> +#include <xen/version.h> +#include <xen/virtual_region.h> + +#include <public/sched.h> +#include <public/xen.h> + +void show_stack(const struct cpu_user_regs *regs) +{ + /* TODO */ +} + +void show_execution_state(const struct cpu_user_regs *regs) +{ + /* TODO */ +} + +void vcpu_show_execution_state(struct vcpu *v) +{ + /* TODO */ +} + +enum mc_disposition arch_do_multicall_call(struct mc_state *state) +{ + /* TODO */ + + return mc_continue; +} -- 2.25.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |