Skip to content

Commit

Permalink
make PMP setup a common macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Aug 3, 2023
1 parent d662b5d commit 826dbdc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions riscv-test-suite/env/test_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,6 @@ RVTEST_SIGUPD_F(swreg,destreg,flagreg)
sub x1,x1,tempreg ;\
RVTEST_SIGUPD(swreg,x1,offset)


#define SETUP_PMP_SVADU_TEST(swreg, offset, TR0, TR1, TR2) \
li TR0, -1 ;\
csrw pmpaddr0, TR0 ;\
Expand All @@ -1001,9 +1000,6 @@ RVTEST_SIGUPD_F(swreg,destreg,flagreg)
RVTEST_SIGUPD(x1,TR1,offset) ;\
M1:




#define TEST_SVADU(swreg, PTE_ADDR, VA, offset, menvcfgaddr, hade_bit) \
sfence.vma ;\
la t0, VA ;\
Expand Down

0 comments on commit 826dbdc

Please sign in to comment.