mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
arm: add support for processors with hardware division
ARMv7-M has hardware division, so it doesn't require __div0 or any support functions for 32-bit division. Change-Id: I840683a1a77d737f378899ca4bcf858216b81014
This commit is contained in:
parent
7e8a818d95
commit
639b587fc7
12 changed files with 25 additions and 14 deletions
|
|
@ -25,7 +25,9 @@
|
|||
#define nop \
|
||||
asm volatile ("nop")
|
||||
|
||||
#if defined(ARM_NEED_DIV0)
|
||||
void __div0(void);
|
||||
#endif
|
||||
|
||||
#define IRQ_ENABLED 0x00
|
||||
#define IRQ_DISABLED 0x80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue