On 02.07.2024 13:23, Oleksii Kurochko wrote: > --- a/xen/arch/riscv/traps.c > +++ b/xen/arch/riscv/traps.c > @@ -12,6 +12,18 @@ > #include <asm/riscv_encoding.h> > #include <asm/traps.h> > > +/* > + * Initialize the trap handling. > + * > + * The function is called after MMU is enabled. > + */ > +void trap_init(void)
It may be deliberate that this isn't __init, but for the present needs it certainly could be. This is the kind of thing that imo want saying in the description (which sadly once again is entirely empty). Jan
