Etienne Carriere | 5bae801 | 2017-11-05 22:57:56 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <asm_macros.S> |
| 8 | |
| 9 | /* |
| 10 | * EABI wrappers from the udivmod and idivmod functions |
| 11 | */ |
| 12 | |
| 13 | .globl ret_uidivmod_values |
| 14 | .globl ret_idivmod_values |
| 15 | |
| 16 | /* |
| 17 | * signed ret_idivmod_values(signed quot, signed rem); |
| 18 | * return quotient and remaining the EABI way (regs r0,r1) |
| 19 | */ |
| 20 | func ret_idivmod_values |
| 21 | bx lr |
| 22 | endfunc ret_idivmod_values |
| 23 | |
| 24 | /* |
| 25 | * unsigned ret_uidivmod_values(unsigned quot, unsigned rem); |
| 26 | * return quotient and remaining the EABI way (regs r0,r1) |
| 27 | */ |
| 28 | func ret_uidivmod_values |
| 29 | bx lr |
| 30 | endfunc ret_uidivmod_values |