aboutsummaryrefslogtreecommitdiff
path: root/psr.h
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2020-01-02 17:49:42 +0100
committervetch <vetch97@gmail.com>2020-01-02 17:49:42 +0100
commit8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9 (patch)
treeb803375047e56d8b9b0669e032a88edb18ff9d99 /psr.h
parent5cb10bcc7d0c6d4159103f05ba228a09ca365fac (diff)
downloadrpi-MMU-example-8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9.tar.gz
rpi-MMU-example-8d08aa3662ed44ef2f4b35b1e79f44adaf3229c9.zip
update, may not work now
Diffstat (limited to 'psr.h')
-rw-r--r--psr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/psr.h b/psr.h
index 9809fc4..86510dc 100644
--- a/psr.h
+++ b/psr.h
@@ -60,7 +60,7 @@ inline static PSR_t read_CPSR(void)
PSR_t CPSR;
// get content of current program status register
asm("mrs %0, cpsr" : "=r" (CPSR.raw) :: "memory");
-
+
return CPSR;
}