ARMv7: division support for missing __aeabi_*divmod
ARMv7-A architectures that do not support the Virtualization extensions
do not support instructions for the 32bit division. This change provides
a software implementation for 32bit division.

The division implementation is dumped from the OP-TEE project
http://github.com/OP-TEE/optee_os. The code was slightly modified
to pass trusted firmware checkpatch requirements and copyright is
given to the ARM trusted firmware initiative and its contributors.

Change-Id: Idae0c7b80a0d75eac9bd41ae121921d4c5af3fa3
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
1 parent 64deed1 commit 1d791530d0f3a4a02e285a38f35fecac4feec70c
@Etienne Carriere Etienne Carriere authored on 5 Nov 2017
Showing 2 changed files
View
lib/aarch32/arm32_aeabi_divmod.c 0 → 100644
View
lib/aarch32/arm32_aeabi_divmod_a32.S 0 → 100644