From c615e937538d438c46efd46f9254a2a74b591205 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Mon, 14 Jan 2019 10:01:30 -0800 Subject: Add PMP example program Signed-off-by: Nathaniel Graff --- .gitmodules | 3 +++ README.md | 2 ++ software/example-pmp | 1 + software/hello | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 software/example-pmp 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 index 0000000..1f19359 --- /dev/null +++ b/software/example-pmp @@ -0,0 +1 @@ +Subproject commit 1f19359da8ef994230193f3a1ca3bba051a1ec4e diff --git a/software/hello b/software/hello index 6c63a15..a9212fb 160000 --- a/software/hello +++ b/software/hello @@ -1 +1 @@ -Subproject commit 6c63a15e2fb2d63713a4af91a50f6b087c6db1f4 +Subproject commit a9212fbe78293ae408259b98d05628e38c9071f7 -- cgit v1.2.1-18-gbd029