Re: [PATCH] ARM: qemu-virt64: convert to assembly entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 14, 2020 at 09:17:44PM +0100, Lucas Stach wrote:
> The C entry function isn't naked, so tries to push to the stack
> in the function prologue. This doesn't work on QEMU where there
> is no valid SP on entry. Convert the lowlevel entry to the
> assembly facilities provided for this case.
> 
> Signed-off-by: Lucas Stach <dev@xxxxxxxxxx>
> ---
>  arch/arm/boards/qemu-virt64/Makefile        |  2 +-
>  arch/arm/boards/qemu-virt64/lowlevel.c      |  4 +++-
>  arch/arm/boards/qemu-virt64/lowlevel_init.S | 12 ++++++++++++
>  3 files changed, 16 insertions(+), 2 deletions(-)
>  create mode 100644 arch/arm/boards/qemu-virt64/lowlevel_init.S

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux