diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-06-30 02:02:46 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-06-30 02:02:46 +0000 |
commit | e286b0bbc04a34c181978efce19c6d0814e228c0 (patch) | |
tree | 841288761e20dc9a7a25e5ba83306adf52547d65 /firmware/target/arm/s3c2440/system-target.h | |
parent | f4a00174b50c209f2a23b7a73fe7cb544ef59d02 (diff) | |
download | rockbox-e286b0bbc04a34c181978efce19c6d0814e228c0.tar.gz rockbox-e286b0bbc04a34c181978efce19c6d0814e228c0.zip |
Remove atomic register bit manipulation functions from i.MX and s3c target code and introduce generic functions for ARM (bitmod32, bitset32, and bitclr32). Multiprocessor support is possible but just not implemented at the moment, only interrupt lockout.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27188 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s3c2440/system-target.h')
-rw-r--r-- | firmware/target/arm/s3c2440/system-target.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/target/arm/s3c2440/system-target.h b/firmware/target/arm/s3c2440/system-target.h index ad32f89552..c48a62cf47 100644 --- a/firmware/target/arm/s3c2440/system-target.h +++ b/firmware/target/arm/s3c2440/system-target.h | |||
@@ -69,14 +69,4 @@ | |||
69 | void system_prepare_fw_start(void); | 69 | void system_prepare_fw_start(void); |
70 | void tick_stop(void); | 70 | void tick_stop(void); |
71 | 71 | ||
72 | /* Functions to set and clear register bits atomically */ | ||
73 | |||
74 | /* Set and clear register bits */ | ||
75 | void s3c_regmod32(volatile unsigned long *reg, unsigned long bits, | ||
76 | unsigned long mask); | ||
77 | /* Set register bits */ | ||
78 | void s3c_regset32(volatile unsigned long *reg, unsigned long bits); | ||
79 | /* Clear register bits */ | ||
80 | void s3c_regclr32(volatile unsigned long *reg, unsigned long bits); | ||
81 | |||
82 | #endif /* SYSTEM_TARGET_H */ | 72 | #endif /* SYSTEM_TARGET_H */ |