Division functionality for cores that dont have divide hardware.
authorUsama Arif <usama.arif@arm.com>
Wed, 12 Dec 2018 17:08:33 +0000 (17:08 +0000)
committerUsama Arif <usama.arif@arm.com>
Tue, 19 Feb 2019 17:07:48 +0000 (17:07 +0000)
commita5aa25af6514ff04721efce05e46b4daf8729a85
treeedfa3429fd232129a838c6043c84928ddff63c60
parentc9fe6fed4bcd930af4ccc487633b35e92d3cc288
Division functionality for cores that dont have divide hardware.

Cortex a5 doesnt support hardware division such as sdiv and udiv commands.
This commit adds a software division function in assembly as well as include
appropriate files for software divison.

The software division algorithm is a modified version obtained from:
http://www.keil.com/support/man/docs/armasm/armasm_dom1359731155623.htm

Change-Id: Ib405a330da5f1cea1e68e07e7b520edeef9e2652
Signed-off-by: Usama Arif <usama.arif@arm.com>
drivers/arm/pl011/aarch32/pl011_console.S
include/arch/aarch32/asm_macros.S