mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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
This commit is contained in:
parent
f4a00174b5
commit
e286b0bbc0
28 changed files with 271 additions and 190 deletions
|
|
@ -51,11 +51,6 @@ void tick_stop(void);
|
|||
void kernel_device_init(void);
|
||||
void system_halt(void);
|
||||
|
||||
void imx31_regmod32(volatile uint32_t *reg_p, uint32_t value,
|
||||
uint32_t mask);
|
||||
void imx31_regset32(volatile uint32_t *reg_p, uint32_t mask);
|
||||
void imx31_regclr32(volatile uint32_t *reg_p, uint32_t mask);
|
||||
|
||||
#define KDEV_INIT
|
||||
|
||||
struct ARM_REGS {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue