CSR Bit Fields

RISC-V pmpcfg14 CSR Register

Address 0x3AEPrivilege MachineAccess RW / XLENMachine physical memory protection CSRs

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

Field Map

Understand pmpcfg14 By Bit Fields

48 key fields
7

pmp56cfg.L

RW

Lock bit for PMP entry 56.

pmp56cfg.L (bit 7) — Lock bit for PMP entry 56.

What This Field Controls

  • - Lock bit for PMP entry 56.

Common Values

pmp56cfg.L
0Unlocked

PMP entry 56 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 pmpaddr56 may still be locked by a later locked TOR entry.

1Locked

PMP entry 56 is locked; writes to pmp56cfg and pmpaddr56 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr55 is also locked.

Open Official Manual
6:5

pmp56cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 56; 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

pmp56cfg.A

RW

Address-matching mode for PMP entry 56.

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

What This Field Controls

  • - Address-matching mode for PMP entry 56.

Common Values

pmp56cfg.A
0OFF

PMP entry 56 is disabled and matches no addresses.

1TOR

PMP entry 56 uses top-of-range matching; the upper bound comes from pmpaddr56, and the lower bound comes from pmpaddr55.

2NA4

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

3NAPOT

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

Open Official Manual
2

pmp56cfg.X

RW

Execute permission for PMP entry 56.

pmp56cfg.X (bit 2) — Execute permission for PMP entry 56.

What This Field Controls

  • - Execute permission for PMP entry 56.

Common Values

pmp56cfg.X
0Execute denied

PMP entry 56 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 56 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
1

pmp56cfg.W

RW

Write permission for PMP entry 56.

pmp56cfg.W (bit 1) — Write permission for PMP entry 56.

What This Field Controls

  • - Write permission for PMP entry 56.

Common Values

pmp56cfg.W
0Write denied

PMP entry 56 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 56 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

pmp56cfg.R

RW

Read permission for PMP entry 56.

pmp56cfg.R (bit 0) — Read permission for PMP entry 56.

What This Field Controls

  • - Read permission for PMP entry 56.

Common Values

pmp56cfg.R
0Read denied

PMP entry 56 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 56 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
15

pmp57cfg.L

RW

Lock bit for PMP entry 57.

pmp57cfg.L (bit 15) — Lock bit for PMP entry 57.

What This Field Controls

  • - Lock bit for PMP entry 57.

Common Values

pmp57cfg.L
0Unlocked

PMP entry 57 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 pmpaddr57 may still be locked by a later locked TOR entry.

1Locked

PMP entry 57 is locked; writes to pmp57cfg and pmpaddr57 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr56 is also locked.

Open Official Manual
14:13

pmp57cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 57; 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

pmp57cfg.A

RW

Address-matching mode for PMP entry 57.

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

What This Field Controls

  • - Address-matching mode for PMP entry 57.

Common Values

pmp57cfg.A
0OFF

PMP entry 57 is disabled and matches no addresses.

1TOR

PMP entry 57 uses top-of-range matching; the upper bound comes from pmpaddr57, and the lower bound comes from pmpaddr56.

2NA4

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

3NAPOT

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

Open Official Manual
10

pmp57cfg.X

RW

Execute permission for PMP entry 57.

pmp57cfg.X (bit 10) — Execute permission for PMP entry 57.

What This Field Controls

  • - Execute permission for PMP entry 57.

Common Values

pmp57cfg.X
0Execute denied

PMP entry 57 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 57 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
9

pmp57cfg.W

RW

Write permission for PMP entry 57.

pmp57cfg.W (bit 9) — Write permission for PMP entry 57.

What This Field Controls

  • - Write permission for PMP entry 57.

Common Values

pmp57cfg.W
0Write denied

PMP entry 57 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 57 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

pmp57cfg.R

RW

Read permission for PMP entry 57.

pmp57cfg.R (bit 8) — Read permission for PMP entry 57.

What This Field Controls

  • - Read permission for PMP entry 57.

Common Values

pmp57cfg.R
0Read denied

PMP entry 57 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 57 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
23

pmp58cfg.L

RW

Lock bit for PMP entry 58.

pmp58cfg.L (bit 23) — Lock bit for PMP entry 58.

What This Field Controls

  • - Lock bit for PMP entry 58.

Common Values

pmp58cfg.L
0Unlocked

PMP entry 58 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 pmpaddr58 may still be locked by a later locked TOR entry.

1Locked

PMP entry 58 is locked; writes to pmp58cfg and pmpaddr58 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr57 is also locked.

Open Official Manual
22:21

pmp58cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 58; 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

pmp58cfg.A

RW

Address-matching mode for PMP entry 58.

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

What This Field Controls

  • - Address-matching mode for PMP entry 58.

Common Values

pmp58cfg.A
0OFF

PMP entry 58 is disabled and matches no addresses.

1TOR

PMP entry 58 uses top-of-range matching; the upper bound comes from pmpaddr58, and the lower bound comes from pmpaddr57.

2NA4

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

3NAPOT

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

Open Official Manual
18

pmp58cfg.X

RW

Execute permission for PMP entry 58.

pmp58cfg.X (bit 18) — Execute permission for PMP entry 58.

What This Field Controls

  • - Execute permission for PMP entry 58.

Common Values

pmp58cfg.X
0Execute denied

PMP entry 58 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 58 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
17

pmp58cfg.W

RW

Write permission for PMP entry 58.

pmp58cfg.W (bit 17) — Write permission for PMP entry 58.

What This Field Controls

  • - Write permission for PMP entry 58.

Common Values

pmp58cfg.W
0Write denied

PMP entry 58 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 58 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

pmp58cfg.R

RW

Read permission for PMP entry 58.

pmp58cfg.R (bit 16) — Read permission for PMP entry 58.

What This Field Controls

  • - Read permission for PMP entry 58.

Common Values

pmp58cfg.R
0Read denied

PMP entry 58 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 58 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
31

pmp59cfg.L

RW

Lock bit for PMP entry 59.

pmp59cfg.L (bit 31) — Lock bit for PMP entry 59.

What This Field Controls

  • - Lock bit for PMP entry 59.

Common Values

pmp59cfg.L
0Unlocked

PMP entry 59 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 pmpaddr59 may still be locked by a later locked TOR entry.

1Locked

PMP entry 59 is locked; writes to pmp59cfg and pmpaddr59 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr58 is also locked.

Open Official Manual
30:29

pmp59cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 59; 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

pmp59cfg.A

RW

Address-matching mode for PMP entry 59.

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

What This Field Controls

  • - Address-matching mode for PMP entry 59.

Common Values

pmp59cfg.A
0OFF

PMP entry 59 is disabled and matches no addresses.

1TOR

PMP entry 59 uses top-of-range matching; the upper bound comes from pmpaddr59, and the lower bound comes from pmpaddr58.

2NA4

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

3NAPOT

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

Open Official Manual
26

pmp59cfg.X

RW

Execute permission for PMP entry 59.

pmp59cfg.X (bit 26) — Execute permission for PMP entry 59.

What This Field Controls

  • - Execute permission for PMP entry 59.

Common Values

pmp59cfg.X
0Execute denied

PMP entry 59 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 59 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
25

pmp59cfg.W

RW

Write permission for PMP entry 59.

pmp59cfg.W (bit 25) — Write permission for PMP entry 59.

What This Field Controls

  • - Write permission for PMP entry 59.

Common Values

pmp59cfg.W
0Write denied

PMP entry 59 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 59 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

pmp59cfg.R

RW

Read permission for PMP entry 59.

pmp59cfg.R (bit 24) — Read permission for PMP entry 59.

What This Field Controls

  • - Read permission for PMP entry 59.

Common Values

pmp59cfg.R
0Read denied

PMP entry 59 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 59 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
39

pmp60cfg.L

RW

Lock bit for PMP entry 60.

pmp60cfg.L (bit 39) — Lock bit for PMP entry 60.

What This Field Controls

  • - Lock bit for PMP entry 60.

Common Values

pmp60cfg.L
0Unlocked

PMP entry 60 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 pmpaddr60 may still be locked by a later locked TOR entry.

1Locked

PMP entry 60 is locked; writes to pmp60cfg and pmpaddr60 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr59 is also locked.

Open Official Manual
38:37

pmp60cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 60; 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

pmp60cfg.A

RW

Address-matching mode for PMP entry 60.

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

What This Field Controls

  • - Address-matching mode for PMP entry 60.

Common Values

pmp60cfg.A
0OFF

PMP entry 60 is disabled and matches no addresses.

1TOR

PMP entry 60 uses top-of-range matching; the upper bound comes from pmpaddr60, and the lower bound comes from pmpaddr59.

2NA4

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

3NAPOT

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

Open Official Manual
34

pmp60cfg.X

RW

Execute permission for PMP entry 60.

pmp60cfg.X (bit 34) — Execute permission for PMP entry 60.

What This Field Controls

  • - Execute permission for PMP entry 60.

Common Values

pmp60cfg.X
0Execute denied

PMP entry 60 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 60 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
33

pmp60cfg.W

RW

Write permission for PMP entry 60.

pmp60cfg.W (bit 33) — Write permission for PMP entry 60.

What This Field Controls

  • - Write permission for PMP entry 60.

Common Values

pmp60cfg.W
0Write denied

PMP entry 60 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 60 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

pmp60cfg.R

RW

Read permission for PMP entry 60.

pmp60cfg.R (bit 32) — Read permission for PMP entry 60.

What This Field Controls

  • - Read permission for PMP entry 60.

Common Values

pmp60cfg.R
0Read denied

PMP entry 60 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 60 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
47

pmp61cfg.L

RW

Lock bit for PMP entry 61.

pmp61cfg.L (bit 47) — Lock bit for PMP entry 61.

What This Field Controls

  • - Lock bit for PMP entry 61.

Common Values

pmp61cfg.L
0Unlocked

PMP entry 61 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 pmpaddr61 may still be locked by a later locked TOR entry.

1Locked

PMP entry 61 is locked; writes to pmp61cfg and pmpaddr61 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr60 is also locked.

Open Official Manual
46:45

pmp61cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 61; 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

pmp61cfg.A

RW

Address-matching mode for PMP entry 61.

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

What This Field Controls

  • - Address-matching mode for PMP entry 61.

Common Values

pmp61cfg.A
0OFF

PMP entry 61 is disabled and matches no addresses.

1TOR

PMP entry 61 uses top-of-range matching; the upper bound comes from pmpaddr61, and the lower bound comes from pmpaddr60.

2NA4

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

3NAPOT

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

Open Official Manual
42

pmp61cfg.X

RW

Execute permission for PMP entry 61.

pmp61cfg.X (bit 42) — Execute permission for PMP entry 61.

What This Field Controls

  • - Execute permission for PMP entry 61.

Common Values

pmp61cfg.X
0Execute denied

PMP entry 61 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 61 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
41

pmp61cfg.W

RW

Write permission for PMP entry 61.

pmp61cfg.W (bit 41) — Write permission for PMP entry 61.

What This Field Controls

  • - Write permission for PMP entry 61.

Common Values

pmp61cfg.W
0Write denied

PMP entry 61 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 61 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

pmp61cfg.R

RW

Read permission for PMP entry 61.

pmp61cfg.R (bit 40) — Read permission for PMP entry 61.

What This Field Controls

  • - Read permission for PMP entry 61.

Common Values

pmp61cfg.R
0Read denied

PMP entry 61 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 61 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
55

pmp62cfg.L

RW

Lock bit for PMP entry 62.

pmp62cfg.L (bit 55) — Lock bit for PMP entry 62.

What This Field Controls

  • - Lock bit for PMP entry 62.

Common Values

pmp62cfg.L
0Unlocked

PMP entry 62 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 pmpaddr62 may still be locked by a later locked TOR entry.

1Locked

PMP entry 62 is locked; writes to pmp62cfg and pmpaddr62 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr61 is also locked.

Open Official Manual
54:53

pmp62cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 62; 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

pmp62cfg.A

RW

Address-matching mode for PMP entry 62.

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

What This Field Controls

  • - Address-matching mode for PMP entry 62.

Common Values

pmp62cfg.A
0OFF

PMP entry 62 is disabled and matches no addresses.

1TOR

PMP entry 62 uses top-of-range matching; the upper bound comes from pmpaddr62, and the lower bound comes from pmpaddr61.

2NA4

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

3NAPOT

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

Open Official Manual
50

pmp62cfg.X

RW

Execute permission for PMP entry 62.

pmp62cfg.X (bit 50) — Execute permission for PMP entry 62.

What This Field Controls

  • - Execute permission for PMP entry 62.

Common Values

pmp62cfg.X
0Execute denied

PMP entry 62 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 62 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
49

pmp62cfg.W

RW

Write permission for PMP entry 62.

pmp62cfg.W (bit 49) — Write permission for PMP entry 62.

What This Field Controls

  • - Write permission for PMP entry 62.

Common Values

pmp62cfg.W
0Write denied

PMP entry 62 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 62 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

pmp62cfg.R

RW

Read permission for PMP entry 62.

pmp62cfg.R (bit 48) — Read permission for PMP entry 62.

What This Field Controls

  • - Read permission for PMP entry 62.

Common Values

pmp62cfg.R
0Read denied

PMP entry 62 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 62 grants read permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
63

pmp63cfg.L

RW

Lock bit for PMP entry 63.

pmp63cfg.L (bit 63) — Lock bit for PMP entry 63.

What This Field Controls

  • - Lock bit for PMP entry 63.

Common Values

pmp63cfg.L
0Unlocked

PMP entry 63 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. Entry 63 is the last PMP entry, so there is no later TOR entry that can lock pmpaddr63.

1Locked

PMP entry 63 is locked; writes to pmp63cfg and pmpaddr63 are ignored until hart reset, and R/W/X permissions apply to all privilege modes. If A=TOR, pmpaddr62 is also locked.

Open Official Manual
62:61

pmp63cfg.reserved

RO

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

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

What This Field Controls

  • - Reserved bits for PMP entry 63; 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

pmp63cfg.A

RW

Address-matching mode for PMP entry 63.

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

What This Field Controls

  • - Address-matching mode for PMP entry 63.

Common Values

pmp63cfg.A
0OFF

PMP entry 63 is disabled and matches no addresses.

1TOR

PMP entry 63 uses top-of-range matching; the upper bound comes from pmpaddr63, and the lower bound comes from pmpaddr62.

2NA4

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

3NAPOT

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

Open Official Manual
58

pmp63cfg.X

RW

Execute permission for PMP entry 63.

pmp63cfg.X (bit 58) — Execute permission for PMP entry 63.

What This Field Controls

  • - Execute permission for PMP entry 63.

Common Values

pmp63cfg.X
0Execute denied

PMP entry 63 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 63 grants execute permission when this entry matches and other PMP, PMA, and privilege rules also allow the access.

Open Official Manual
57

pmp63cfg.W

RW

Write permission for PMP entry 63.

pmp63cfg.W (bit 57) — Write permission for PMP entry 63.

What This Field Controls

  • - Write permission for PMP entry 63.

Common Values

pmp63cfg.W
0Write denied

PMP entry 63 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 63 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

pmp63cfg.R

RW

Read permission for PMP entry 63.

pmp63cfg.R (bit 56) — Read permission for PMP entry 63.

What This Field Controls

  • - Read permission for PMP entry 63.

Common Values

pmp63cfg.R
0Read denied

PMP entry 63 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 63 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 pmpcfg14; unimplemented or insufficiently privileged accesses raise an illegal-instruction exception.
  • - Use address 0x3AE 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 pmpcfg14 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.