summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-05-29 14:09:21 +0000
committerFelix Arends <edx@rockbox.org>2002-05-29 14:09:21 +0000
commit86a9ab255631a5deb0b8b379d534f4866dd142f4 (patch)
tree7a5154bb61e5fb1af85b972cf017b8244555681a /firmware
parent794713a3de28374ba773cd69c4b83703a50028e7 (diff)
downloadrockbox-86a9ab255631a5deb0b8b379d534f4866dd142f4.tar.gz
rockbox-86a9ab255631a5deb0b8b379d534f4866dd142f4.zip
cas and cas2 not defined for simulator any more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@795 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/system.h b/firmware/system.h
index 2947fdc1ab..b65358d415 100644
--- a/firmware/system.h
+++ b/firmware/system.h
@@ -230,8 +230,6 @@ static inline void cli (void)
230 asm volatile ("ldc\t%0,sr" : : "r"(15<<4)); 230 asm volatile ("ldc\t%0,sr" : : "r"(15<<4));
231 } 231 }
232 232
233#endif
234
235/* Compare And Swap */ 233/* Compare And Swap */
236static inline int cas (volatile int *pointer,int requested_value,int new_value) 234static inline int cas (volatile int *pointer,int requested_value,int new_value)
237 { 235 {
@@ -260,6 +258,8 @@ static inline int cas2 (volatile int *pointer1,volatile int *pointer2,int reques
260 return 0; 258 return 0;
261 } 259 }
262 260
261#endif
262
263extern void system_reboot (void); 263extern void system_reboot (void);
264extern void system_init(void); 264extern void system_init(void);
265 265