Change sreg type to cpuflags_t.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Oct 2007 19:10:11 +0000 (19:10 +0000)
committerbatt <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

index 57072753e0f08a35310024daea3335c15ecf5fbf..03a0827df5cf9d7518c772e997edb3f60fedcc19 100644 (file)
--- a/cpu/cpu.h
+++ b/cpu/cpu.h
 
                #define CPU_READ_FLAGS() \
                ({ \
-                       uint32_t sreg; \
+                       cpuflags_t sreg; \
                        asm volatile ( \
                                "mrs %0, cpsr\n\t" \
                                : "=r" (sreg) \