projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6b645
)
Change sreg type to cpuflags_t.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Oct 2007 19:10:11 +0000
(19:10 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Oct 2007 19:10:11 +0000
(19:10 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@918
38d2e660
-2303-0410-9eaa-
f027e97ec537
cpu/cpu.h
patch
|
blob
|
history
diff --git
a/cpu/cpu.h
b/cpu/cpu.h
index 57072753e0f08a35310024daea3335c15ecf5fbf..03a0827df5cf9d7518c772e997edb3f60fedcc19 100644
(file)
--- a/
cpu/cpu.h
+++ b/
cpu/cpu.h
@@
-205,7
+205,7
@@
#define CPU_READ_FLAGS() \
({ \
-
uint32
_t sreg; \
+
cpuflags
_t sreg; \
asm volatile ( \
"mrs %0, cpsr\n\t" \
: "=r" (sreg) \