Skip to content

Commit 94e6e94

Browse files
author
dongyongtao
committed
NMSIS/Core: add comment that Nuclei CPU's smpu/pmp granularity is 2^12 = 4KBytes
Signed-off-by: dongyongtao <dongyongtao@nucleisys.com>
1 parent 24d171f commit 94e6e94

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

NMSIS/Core/Include/core_feature_pmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef struct PMP_CONFIG {
6464
/**
6565
* Size of memory region as power of 2, it has to be minimum 2 and maxium \ref __RISCV_XLEN according to the
6666
* hard-wired granularity 2^N bytes, if N = 12, then order has to be at least 12; if not, the order read out
67-
* is N though you configure less than N.
67+
* is N though you configure less than N. Generally, Nuclei CPU's pmp granularity is 2^12 = 4KBytes, you should refer to the databook.
6868
*/
6969
unsigned long order;
7070
/**

NMSIS/Core/Include/core_feature_spmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef struct SPMP_CONFIG {
7070
/**
7171
* Size of memory region as power of 2, it has to be minimum 2 and maxium \ref __RISCV_XLEN according to the
7272
* hardwired granularity 2^N bytes, if N = 12, then order has to be at least 12; if not, the order read out
73-
* is N though you configure less than N.
73+
* is N though you configure less than N. Generally, Nuclei CPU's smpu granularity is 2^12 = 4KBytes, you should refer to the databook.
7474
*/
7575
unsigned long order;
7676
/**

0 commit comments

Comments
 (0)