Re: [edk2-devel] [edk2 1/1] RISCV: clean up exception handling

2023-02-21 Thread Andrei Warkentin
ndler. Will resend shortly. A -Original Message- From: devel@edk2.groups.io On Behalf Of Sunil V L Sent: Tuesday, February 21, 2023 1:02 AM To: Warkentin, Andrei Cc: devel@edk2.groups.io; Daniel Schaefer Subject: Re: [edk2-devel] [edk2 1/1] RISCV: clean up exception handling Hi A

Re: [edk2-devel] [edk2 1/1] RISCV: clean up exception handling

2023-02-20 Thread Sunil V L
Hi Andrei, Happy to see this patch! On Fri, Feb 17, 2023 at 10:28:09PM -0600, Andrei Warkentin wrote: > RegisterCpuInterruptHandler did not allow setting > exception handlers for anything beyond the timer IRQ. > Beyond that, it didn't meet the spec around handling > of inputs. > > RiscVSuperviso

[edk2-devel] [edk2 1/1] RISCV: clean up exception handling

2023-02-17 Thread Andrei Warkentin
RegisterCpuInterruptHandler did not allow setting exception handlers for anything beyond the timer IRQ. Beyond that, it didn't meet the spec around handling of inputs. RiscVSupervisorModeTrapHandler now will invoke set handlers for both exceptions and interrupts. Two arrays of handlers are maintai