CSR Bit Fields

RISC-V pmpcfg10 CSR Register

Address 0x3AAPrivilege MachineAccess RW / XLENMachine physical memory protection CSRs

pmpcfg10 is a physical memory protection configuration CSR describing permissions, address matching, and lock bits for PMP regions.

Field Map

Understand pmpcfg10 By Bit Fields

48 key fields
7

pmp40cfg.L

RW

Lock bit for PMP entry 40.

pmp40cfg.L (bit 7) — Lock bit for PMP entry 40.

What This Field Controls

  • - Lock bit for PMP entry 40.

Common Values

pmp40cfg.L
0Unlocked

PMP entry 40 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr40 may still be locked by a later locked TOR entry.

1Locked

PMP entry 40 is locked; writes to pmp40cfg and pmpaddr40 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr39 is also locked.

Open Official Manual
6:5

pmp40cfg.reserved

RO

Reserved bits for PMP entry 40; writes follow WARL/reserved-bit rules.

pmp40cfg.reserved (bits 6:5) — Reserved bits for PMP entry 40; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 40; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
4:3

pmp40cfg.A

RW

Address-matching mode for PMP entry 40.

pmp40cfg.A (bits 4:3) — Address-matching mode for PMP entry 40.

What This Field Controls

  • - Address-matching mode for PMP entry 40.

Common Values

pmp40cfg.A
0OFF

PMP entry 40 is disabled and matches no addresses.

1TOR

PMP entry 40 uses top-of-range matching; the upper bound comes from pmpaddr40, and the lower bound comes from pmpaddr39.

2NA4

PMP entry 40 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 40 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr40.

Open Official Manual
2

pmp40cfg.X

RW

Execute permission for PMP entry 40.

pmp40cfg.X (bit 2) — Execute permission for PMP entry 40.

What This Field Controls

  • - Execute permission for PMP entry 40.

Common Values

pmp40cfg.X
0Execute denied

PMP entry 40 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 40 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
1

pmp40cfg.W

RW

Write permission for PMP entry 40.

pmp40cfg.W (bit 1) — Write permission for PMP entry 40.

What This Field Controls

  • - Write permission for PMP entry 40.

Common Values

pmp40cfg.W
0Write denied

PMP entry 40 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 40 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
0

pmp40cfg.R

RW

Read permission for PMP entry 40.

pmp40cfg.R (bit 0) — Read permission for PMP entry 40.

What This Field Controls

  • - Read permission for PMP entry 40.

Common Values

pmp40cfg.R
0Read denied

PMP entry 40 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 40 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
15

pmp41cfg.L

RW

Lock bit for PMP entry 41.

pmp41cfg.L (bit 15) — Lock bit for PMP entry 41.

What This Field Controls

  • - Lock bit for PMP entry 41.

Common Values

pmp41cfg.L
0Unlocked

PMP entry 41 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr41 may still be locked by a later locked TOR entry.

1Locked

PMP entry 41 is locked; writes to pmp41cfg and pmpaddr41 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr40 is also locked.

Open Official Manual
14:13

pmp41cfg.reserved

RO

Reserved bits for PMP entry 41; writes follow WARL/reserved-bit rules.

pmp41cfg.reserved (bits 14:13) — Reserved bits for PMP entry 41; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 41; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
12:11

pmp41cfg.A

RW

Address-matching mode for PMP entry 41.

pmp41cfg.A (bits 12:11) — Address-matching mode for PMP entry 41.

What This Field Controls

  • - Address-matching mode for PMP entry 41.

Common Values

pmp41cfg.A
0OFF

PMP entry 41 is disabled and matches no addresses.

1TOR

PMP entry 41 uses top-of-range matching; the upper bound comes from pmpaddr41, and the lower bound comes from pmpaddr40.

2NA4

PMP entry 41 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 41 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr41.

Open Official Manual
10

pmp41cfg.X

RW

Execute permission for PMP entry 41.

pmp41cfg.X (bit 10) — Execute permission for PMP entry 41.

What This Field Controls

  • - Execute permission for PMP entry 41.

Common Values

pmp41cfg.X
0Execute denied

PMP entry 41 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 41 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
9

pmp41cfg.W

RW

Write permission for PMP entry 41.

pmp41cfg.W (bit 9) — Write permission for PMP entry 41.

What This Field Controls

  • - Write permission for PMP entry 41.

Common Values

pmp41cfg.W
0Write denied

PMP entry 41 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 41 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
8

pmp41cfg.R

RW

Read permission for PMP entry 41.

pmp41cfg.R (bit 8) — Read permission for PMP entry 41.

What This Field Controls

  • - Read permission for PMP entry 41.

Common Values

pmp41cfg.R
0Read denied

PMP entry 41 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 41 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
23

pmp42cfg.L

RW

Lock bit for PMP entry 42.

pmp42cfg.L (bit 23) — Lock bit for PMP entry 42.

What This Field Controls

  • - Lock bit for PMP entry 42.

Common Values

pmp42cfg.L
0Unlocked

PMP entry 42 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr42 may still be locked by a later locked TOR entry.

1Locked

PMP entry 42 is locked; writes to pmp42cfg and pmpaddr42 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr41 is also locked.

Open Official Manual
22:21

pmp42cfg.reserved

RO

Reserved bits for PMP entry 42; writes follow WARL/reserved-bit rules.

pmp42cfg.reserved (bits 22:21) — Reserved bits for PMP entry 42; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 42; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
20:19

pmp42cfg.A

RW

Address-matching mode for PMP entry 42.

pmp42cfg.A (bits 20:19) — Address-matching mode for PMP entry 42.

What This Field Controls

  • - Address-matching mode for PMP entry 42.

Common Values

pmp42cfg.A
0OFF

PMP entry 42 is disabled and matches no addresses.

1TOR

PMP entry 42 uses top-of-range matching; the upper bound comes from pmpaddr42, and the lower bound comes from pmpaddr41.

2NA4

PMP entry 42 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 42 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr42.

Open Official Manual
18

pmp42cfg.X

RW

Execute permission for PMP entry 42.

pmp42cfg.X (bit 18) — Execute permission for PMP entry 42.

What This Field Controls

  • - Execute permission for PMP entry 42.

Common Values

pmp42cfg.X
0Execute denied

PMP entry 42 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 42 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
17

pmp42cfg.W

RW

Write permission for PMP entry 42.

pmp42cfg.W (bit 17) — Write permission for PMP entry 42.

What This Field Controls

  • - Write permission for PMP entry 42.

Common Values

pmp42cfg.W
0Write denied

PMP entry 42 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 42 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
16

pmp42cfg.R

RW

Read permission for PMP entry 42.

pmp42cfg.R (bit 16) — Read permission for PMP entry 42.

What This Field Controls

  • - Read permission for PMP entry 42.

Common Values

pmp42cfg.R
0Read denied

PMP entry 42 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 42 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
31

pmp43cfg.L

RW

Lock bit for PMP entry 43.

pmp43cfg.L (bit 31) — Lock bit for PMP entry 43.

What This Field Controls

  • - Lock bit for PMP entry 43.

Common Values

pmp43cfg.L
0Unlocked

PMP entry 43 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr43 may still be locked by a later locked TOR entry.

1Locked

PMP entry 43 is locked; writes to pmp43cfg and pmpaddr43 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr42 is also locked.

Open Official Manual
30:29

pmp43cfg.reserved

RO

Reserved bits for PMP entry 43; writes follow WARL/reserved-bit rules.

pmp43cfg.reserved (bits 30:29) — Reserved bits for PMP entry 43; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 43; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
28:27

pmp43cfg.A

RW

Address-matching mode for PMP entry 43.

pmp43cfg.A (bits 28:27) — Address-matching mode for PMP entry 43.

What This Field Controls

  • - Address-matching mode for PMP entry 43.

Common Values

pmp43cfg.A
0OFF

PMP entry 43 is disabled and matches no addresses.

1TOR

PMP entry 43 uses top-of-range matching; the upper bound comes from pmpaddr43, and the lower bound comes from pmpaddr42.

2NA4

PMP entry 43 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 43 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr43.

Open Official Manual
26

pmp43cfg.X

RW

Execute permission for PMP entry 43.

pmp43cfg.X (bit 26) — Execute permission for PMP entry 43.

What This Field Controls

  • - Execute permission for PMP entry 43.

Common Values

pmp43cfg.X
0Execute denied

PMP entry 43 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 43 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
25

pmp43cfg.W

RW

Write permission for PMP entry 43.

pmp43cfg.W (bit 25) — Write permission for PMP entry 43.

What This Field Controls

  • - Write permission for PMP entry 43.

Common Values

pmp43cfg.W
0Write denied

PMP entry 43 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 43 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
24

pmp43cfg.R

RW

Read permission for PMP entry 43.

pmp43cfg.R (bit 24) — Read permission for PMP entry 43.

What This Field Controls

  • - Read permission for PMP entry 43.

Common Values

pmp43cfg.R
0Read denied

PMP entry 43 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 43 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
39

pmp44cfg.L

RW

Lock bit for PMP entry 44.

pmp44cfg.L (bit 39) — Lock bit for PMP entry 44.

What This Field Controls

  • - Lock bit for PMP entry 44.

Common Values

pmp44cfg.L
0Unlocked

PMP entry 44 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr44 may still be locked by a later locked TOR entry.

1Locked

PMP entry 44 is locked; writes to pmp44cfg and pmpaddr44 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr43 is also locked.

Open Official Manual
38:37

pmp44cfg.reserved

RO

Reserved bits for PMP entry 44; writes follow WARL/reserved-bit rules.

pmp44cfg.reserved (bits 38:37) — Reserved bits for PMP entry 44; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 44; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
36:35

pmp44cfg.A

RW

Address-matching mode for PMP entry 44.

pmp44cfg.A (bits 36:35) — Address-matching mode for PMP entry 44.

What This Field Controls

  • - Address-matching mode for PMP entry 44.

Common Values

pmp44cfg.A
0OFF

PMP entry 44 is disabled and matches no addresses.

1TOR

PMP entry 44 uses top-of-range matching; the upper bound comes from pmpaddr44, and the lower bound comes from pmpaddr43.

2NA4

PMP entry 44 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 44 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr44.

Open Official Manual
34

pmp44cfg.X

RW

Execute permission for PMP entry 44.

pmp44cfg.X (bit 34) — Execute permission for PMP entry 44.

What This Field Controls

  • - Execute permission for PMP entry 44.

Common Values

pmp44cfg.X
0Execute denied

PMP entry 44 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 44 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
33

pmp44cfg.W

RW

Write permission for PMP entry 44.

pmp44cfg.W (bit 33) — Write permission for PMP entry 44.

What This Field Controls

  • - Write permission for PMP entry 44.

Common Values

pmp44cfg.W
0Write denied

PMP entry 44 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 44 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
32

pmp44cfg.R

RW

Read permission for PMP entry 44.

pmp44cfg.R (bit 32) — Read permission for PMP entry 44.

What This Field Controls

  • - Read permission for PMP entry 44.

Common Values

pmp44cfg.R
0Read denied

PMP entry 44 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 44 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
47

pmp45cfg.L

RW

Lock bit for PMP entry 45.

pmp45cfg.L (bit 47) — Lock bit for PMP entry 45.

What This Field Controls

  • - Lock bit for PMP entry 45.

Common Values

pmp45cfg.L
0Unlocked

PMP entry 45 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr45 may still be locked by a later locked TOR entry.

1Locked

PMP entry 45 is locked; writes to pmp45cfg and pmpaddr45 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr44 is also locked.

Open Official Manual
46:45

pmp45cfg.reserved

RO

Reserved bits for PMP entry 45; writes follow WARL/reserved-bit rules.

pmp45cfg.reserved (bits 46:45) — Reserved bits for PMP entry 45; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 45; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
44:43

pmp45cfg.A

RW

Address-matching mode for PMP entry 45.

pmp45cfg.A (bits 44:43) — Address-matching mode for PMP entry 45.

What This Field Controls

  • - Address-matching mode for PMP entry 45.

Common Values

pmp45cfg.A
0OFF

PMP entry 45 is disabled and matches no addresses.

1TOR

PMP entry 45 uses top-of-range matching; the upper bound comes from pmpaddr45, and the lower bound comes from pmpaddr44.

2NA4

PMP entry 45 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 45 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr45.

Open Official Manual
42

pmp45cfg.X

RW

Execute permission for PMP entry 45.

pmp45cfg.X (bit 42) — Execute permission for PMP entry 45.

What This Field Controls

  • - Execute permission for PMP entry 45.

Common Values

pmp45cfg.X
0Execute denied

PMP entry 45 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 45 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
41

pmp45cfg.W

RW

Write permission for PMP entry 45.

pmp45cfg.W (bit 41) — Write permission for PMP entry 45.

What This Field Controls

  • - Write permission for PMP entry 45.

Common Values

pmp45cfg.W
0Write denied

PMP entry 45 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 45 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
40

pmp45cfg.R

RW

Read permission for PMP entry 45.

pmp45cfg.R (bit 40) — Read permission for PMP entry 45.

What This Field Controls

  • - Read permission for PMP entry 45.

Common Values

pmp45cfg.R
0Read denied

PMP entry 45 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 45 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
55

pmp46cfg.L

RW

Lock bit for PMP entry 46.

pmp46cfg.L (bit 55) — Lock bit for PMP entry 46.

What This Field Controls

  • - Lock bit for PMP entry 46.

Common Values

pmp46cfg.L
0Unlocked

PMP entry 46 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr46 may still be locked by a later locked TOR entry.

1Locked

PMP entry 46 is locked; writes to pmp46cfg and pmpaddr46 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr45 is also locked.

Open Official Manual
54:53

pmp46cfg.reserved

RO

Reserved bits for PMP entry 46; writes follow WARL/reserved-bit rules.

pmp46cfg.reserved (bits 54:53) — Reserved bits for PMP entry 46; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 46; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
52:51

pmp46cfg.A

RW

Address-matching mode for PMP entry 46.

pmp46cfg.A (bits 52:51) — Address-matching mode for PMP entry 46.

What This Field Controls

  • - Address-matching mode for PMP entry 46.

Common Values

pmp46cfg.A
0OFF

PMP entry 46 is disabled and matches no addresses.

1TOR

PMP entry 46 uses top-of-range matching; the upper bound comes from pmpaddr46, and the lower bound comes from pmpaddr45.

2NA4

PMP entry 46 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 46 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr46.

Open Official Manual
50

pmp46cfg.X

RW

Execute permission for PMP entry 46.

pmp46cfg.X (bit 50) — Execute permission for PMP entry 46.

What This Field Controls

  • - Execute permission for PMP entry 46.

Common Values

pmp46cfg.X
0Execute denied

PMP entry 46 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 46 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
49

pmp46cfg.W

RW

Write permission for PMP entry 46.

pmp46cfg.W (bit 49) — Write permission for PMP entry 46.

What This Field Controls

  • - Write permission for PMP entry 46.

Common Values

pmp46cfg.W
0Write denied

PMP entry 46 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 46 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
48

pmp46cfg.R

RW

Read permission for PMP entry 46.

pmp46cfg.R (bit 48) — Read permission for PMP entry 46.

What This Field Controls

  • - Read permission for PMP entry 46.

Common Values

pmp46cfg.R
0Read denied

PMP entry 46 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 46 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
63

pmp47cfg.L

RW

Lock bit for PMP entry 47.

pmp47cfg.L (bit 63) — Lock bit for PMP entry 47.

What This Field Controls

  • - Lock bit for PMP entry 47.

Common Values

pmp47cfg.L
0Unlocked

PMP entry 47 is not locked; this entry's configuration may be modified under WARL rules. M-mode accesses matching this entry succeed, and R/W/X permissions constrain only S/U effective-privilege accesses. Note that pmpaddr47 may still be locked by a later locked TOR entry.

1Locked

PMP entry 47 is locked; writes to pmp47cfg and pmpaddr47 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr46 is also locked.

Open Official Manual
62:61

pmp47cfg.reserved

RO

Reserved bits for PMP entry 47; writes follow WARL/reserved-bit rules.

pmp47cfg.reserved (bits 62:61) — Reserved bits for PMP entry 47; writes follow WARL/reserved-bit rules.

What This Field Controls

  • - Reserved bits for PMP entry 47; writes follow WARL/reserved-bit rules.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
60:59

pmp47cfg.A

RW

Address-matching mode for PMP entry 47.

pmp47cfg.A (bits 60:59) — Address-matching mode for PMP entry 47.

What This Field Controls

  • - Address-matching mode for PMP entry 47.

Common Values

pmp47cfg.A
0OFF

PMP entry 47 is disabled and matches no addresses.

1TOR

PMP entry 47 uses top-of-range matching; the upper bound comes from pmpaddr47, and the lower bound comes from pmpaddr46.

2NA4

PMP entry 47 matches a naturally aligned four-byte region; if the platform PMP grain does not support NA4, this encoding is not selectable.

3NAPOT

PMP entry 47 matches a naturally aligned power-of-two region of at least 8 bytes, with the size encoded in low-order bits of pmpaddr47.

Open Official Manual
58

pmp47cfg.X

RW

Execute permission for PMP entry 47.

pmp47cfg.X (bit 58) — Execute permission for PMP entry 47.

What This Field Controls

  • - Execute permission for PMP entry 47.

Common Values

pmp47cfg.X
0Execute denied

PMP entry 47 does not grant execute permission; matching S/U instruction fetches fail, while M-mode instruction fetches are constrained by this bit only when this entry is locked.

1Execute permitted

PMP entry 47 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
57

pmp47cfg.W

RW

Write permission for PMP entry 47.

pmp47cfg.W (bit 57) — Write permission for PMP entry 47.

What This Field Controls

  • - Write permission for PMP entry 47.

Common Values

pmp47cfg.W
0Write denied

PMP entry 47 does not grant write permission; matching S/U store, AMO, and other write-class accesses fail, while M-mode writes are constrained by this bit only when this entry is locked.

1Write permitted (requires R=1)

PMP entry 47 grants write permission only when R=1; the R=0 and W=1 combination is officially reserved and is not a portable configuration.

Open Official Manual
56

pmp47cfg.R

RW

Read permission for PMP entry 47.

pmp47cfg.R (bit 56) — Read permission for PMP entry 47.

What This Field Controls

  • - Read permission for PMP entry 47.

Common Values

pmp47cfg.R
0Read denied

PMP entry 47 does not grant read permission; matching S/U read accesses fail, while M-mode reads are constrained by this bit only when this entry is locked.

1Read permitted

PMP entry 47 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual

What To Check First When Reading This CSR

  • - First confirm that the current hart implements pmpcfg10; unimplemented or insufficiently privileged accesses raise an illegal-instruction exception.
  • - Use address 0x3AA and the lowest access privilege (Machine) to decide whether software may read it directly.
  • - Do not assume fixed values for reserved, WARL, or WLRL bits; interpret the value according to the specification and implementation.

Risk Checks Before Writing

  • - Preserve bits that are not being changed so reserved or implementation-defined fields are not written with invalid values.
  • - Prefer CSRRS/CSRRC for local set/clear operations to avoid CSRRW overwriting concurrently updated status bits.

Put It Back Into A Real Flow

1

During initialization or the relevant privileged flow, software reads pmpcfg10 to observe the current state.

2

Modify only the target fields while preserving all other bits.

3

Read back the CSR or validate through later trap, interrupt, or context-switch behavior that the setting took effect.