diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-04-27 21:16:21 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-04-27 21:16:43 -0700 |
commit | 2e567debf479cf5ef86d6266dc27814f7ba8a088 (patch) | |
tree | c8aa6fd1d87b97f4d6c9e2c1279b061cfc70d4aa /riscv/dts.h | |
parent | 3b26740205c401498fe77c2c9a16c8907a139cd8 (diff) | |
download | spike-2e567debf479cf5ef86d6266dc27814f7ba8a088.zip spike-2e567debf479cf5ef86d6266dc27814f7ba8a088.tar.gz spike-2e567debf479cf5ef86d6266dc27814f7ba8a088.tar.bz2 |
fdt: add pmp parsing helper
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/dts.h')
-rw-r--r-- | riscv/dts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/dts.h b/riscv/dts.h index cb3490d..ec27abc 100644 --- a/riscv/dts.h +++ b/riscv/dts.h @@ -15,5 +15,5 @@ std::string dts_compile(const std::string& dts); int fdt_parse_clint(void *fdt, unsigned long *clint_addr, const char *compatible); - +int fdt_parse_pmp(void *fdt, unsigned long *pmp_num, const char *compatible); #endif |