summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-01-14 10:01:30 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-01-30 11:14:33 -0800
commitc615e937538d438c46efd46f9254a2a74b591205 (patch)
treec7188e2bfad20a2750a4155ff623a16541abfb74
parent4326dada61ff5d48550b5cf0bff29e370bc7257c (diff)
Add PMP example program
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
-rw-r--r--.gitmodules3
-rw-r--r--README.md2
m---------software/example-pmp0
m---------software/hello0
4 files changed, 5 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index b92428d..ec643f0 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -25,3 +25,6 @@
[submodule "software/return-pass"]
path = software/return-pass
url = https://github.com/sifive/example-return-pass.git
+[submodule "software/example-pmp"]
+ path = software/example-pmp
+ url = https://github.com/sifive/example-pmp.git
diff --git a/README.md b/README.md
index 4a3e7c6..37b837a 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,8 @@ of Freedom E SDK.
- Demonstrates how to register a handler for and trigger a timer interrupt
- local-interrupt
- Demonstrates how to register a handler for and trigger a local interrupt
+ - example-pmp
+ - Demonstrates how to configure a Physical Memory Protection (PMP) region
#### (Deprecated) Legacy Freedom E SDK Library ####
diff --git a/software/example-pmp b/software/example-pmp
new file mode 160000
+Subproject 1f19359da8ef994230193f3a1ca3bba051a1ec4
diff --git a/software/hello b/software/hello
-Subproject 6c63a15e2fb2d63713a4af91a50f6b087c6db1f
+Subproject a9212fbe78293ae408259b98d05628e38c9071f