On Mon, Apr 19, 2021 at 2:17 PM Alistair Francis <[email protected]> wrote: > > From: Hou Weiying <[email protected]> > > This commit adds support for ePMP v0.9.1. > > The ePMP spec can be found in: > https://docs.google.com/document/d/1Mh_aiHYxemL0umN3GTTw8vsbmzHZ_nxZXgjgOUzbvc8 > > Signed-off-by: Hongzheng-Li <[email protected]> > Signed-off-by: Hou Weiying <[email protected]> > Signed-off-by: Myriad-Dreamin <[email protected]> > Message-Id: > <sg2pr02mb263462ccdbcbbad36983c2cd93...@sg2pr02mb2634.apcprd02.prod.outlook.com> > [ Changes by AF: > - Rebase on master > - Update to latest spec > - Use a switch case to handle ePMP MML permissions > - Fix a few bugs > ] > Signed-off-by: Alistair Francis <[email protected]> > --- > target/riscv/pmp.c | 154 ++++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 146 insertions(+), 8 deletions(-) >
Reviewed-by: Bin Meng <[email protected]>
