diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-04-02 15:20:02 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-04-06 13:48:09 +0200 |
commit | d4674ed3b7cd98fab499d0d94d364bdb060df3ff (patch) | |
tree | 9c698c566e071091e08acdb5911be66c327f726c /lib/unwarminder/SOURCES | |
parent | f33330c0ff90adad8855250877a4a3d0a407bba4 (diff) | |
download | rockbox-d4674ed3b7cd98fab499d0d94d364bdb060df3ff.tar.gz rockbox-d4674ed3b7cd98fab499d0d94d364bdb060df3ff.zip |
arm: implement safe reads by intercepting the data abort handler.
Implement functions to read from a memory location and indicate
failure in case this is not possible. Since we do not have a MMU,
intercept the data abort handler and simply return when the abort
comes from the safe read routines.
Change-Id: I08f2e59898dcac893319a8150d4cf626f3adabbd
Reviewed-on: http://gerrit.rockbox.org/207
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Diffstat (limited to 'lib/unwarminder/SOURCES')
-rw-r--r-- | lib/unwarminder/SOURCES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unwarminder/SOURCES b/lib/unwarminder/SOURCES index 055e6d0ab3..b060e2908d 100644 --- a/lib/unwarminder/SOURCES +++ b/lib/unwarminder/SOURCES | |||
@@ -5,3 +5,4 @@ unwarm.c | |||
5 | unwarminder.c | 5 | unwarminder.c |
6 | unwarmmem.c | 6 | unwarmmem.c |
7 | unwarm_thumb.c | 7 | unwarm_thumb.c |
8 | safe_read.S \ No newline at end of file | ||