|
| TEST_P (NapotTest, Codec) |
|
| INSTANTIATE_TEST_SUITE_P (AllCases, NapotTest, testing::Values(NapotCase{ .start=0b1000010100100100101010100000,.end=0b1000010100100100101011000000,.encoded=0b10000101001001001010101011, }, NapotCase{ .start=0b101000001101000011100000000000,.end=0b101000001101000011100100000000,.encoded=0b1010000011010000111000011111, }, NapotCase{ .start=0b10111111111111111111111111111000,.end=0b11000000000000000000000000000000,.encoded=0b101111111111111111111111111110, }, NapotCase{ .start=0b00000000000000000000000000000000,.end=0b10000000000000000000000000000000,.encoded=0b001111111111111111111111111111, })) |
|
void | ExpectPmpcfgRead (const PmpCsrs &expect) |
| Helper function to call EXPECT_CSR_READ on all pmpcfg registers returning the values provided.
|
|
void | ExpectPmpaddrRead (const PmpCsrs &expect) |
| Helper function to call EXPECT_CSR_READ on all pmpaddr registers returning the values provided.
|
|
void | ExpectMseccfgRead (const PmpCsrs &expect) |
| Helper function to call EXPECT_CSR_READ on the mseccfg register returning the value provided.
|
|
void | ExpectReadState (const PmpCsrs &expect) |
| Helper function to call EXPECT_CSR_READ as necessary for an internal read_state call with the expected values provided.
|
|
| TEST (EpmpCheckTest, Default) |
|
| TEST (EpmpCheckTest, ErrorPmpaddr) |
|
| TEST (EpmpCheckTest, ErrorPmpcfg) |
|
| TEST (EpmpCheckTest, ErrorMseccfg) |
|
| TEST (EpmpTorTest, Entry0) |
|
| TEST (EpmpTorTest, Entry1) |
|
| TEST (EpmpTorTest, Entry15) |
|
| TEST (EpmpTorTest, SharedAddress) |
|
| TEST (EpmpNa4Test, Entry0) |
|
| TEST (EpmpNa4Test, Entry15) |
|
uint32_t | Napot (epmp_region_t region) |
| Encode a region using the NAPOT address mode. More...
|
|
| TEST (EpmpNapotTest, Entry0) |
|
| TEST (EpmpNapotTest, Entry15) |
|