forked from len0rd/rockbox
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
|
@ -154,7 +154,7 @@ struct codec_api {
|
|||
bool (*loop_track)(void);
|
||||
|
||||
/* kernel/ system */
|
||||
#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
|
||||
#if defined(ARM_NEED_DIV0)
|
||||
void (*__div0)(void);
|
||||
#endif
|
||||
unsigned (*sleep)(unsigned ticks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue