On Mon, Apr 19, 2021 at 2:17 PM Alistair Francis <alistair.fran...@wdc.com> wrote: > > From: Hou Weiying <weiying_...@outlook.com> > > 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 <ethan.lee....@gmail.com> > Signed-off-by: Hou Weiying <weiying_...@outlook.com> > Signed-off-by: Myriad-Dreamin <camiy...@gmail.com> > 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 <alistair.fran...@wdc.com> > --- > target/riscv/pmp.c | 154 ++++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 146 insertions(+), 8 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>