This patch adds arm64 specific codes, which are: - exception support - cache support - rework Makefile to support arm64 Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
19 lines
271 B
ArmAsm
19 lines
271 B
ArmAsm
#include <linux/linkage.h>
|
|
#include <asm/sections.h>
|
|
|
|
.section .text.setupc
|
|
|
|
/*
|
|
* setup_c: clear bss
|
|
*/
|
|
ENTRY(setup_c)
|
|
mov x15, x30
|
|
ldr x0, =__bss_start
|
|
mov x1, #0
|
|
ldr x2, =__bss_stop
|
|
sub x2, x2, x0
|
|
bl memset /* clear bss */
|
|
mov x30, x15
|
|
ret
|
|
ENDPROC(setup_c)
|