1/*
2 * Copyright 2019, Data61
3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4 * ABN 41 687 119 230.
5 *
6 * This software may be distributed and modified according to the terms of
7 * the BSD 2-Clause license. Note that NO WARRANTY is provided.
8 * See "LICENSE_BSD2.txt" for details.
9 *
10 * @TAG(DATA61_BSD)
11 */
12#include <sel4runtime/gen_config.h>
13
14.section .text
15.global _sel4_start
16_sel4_start:
17	ldr x19, =__stack_top
18	add sp, x19, #0
19	bl __sel4_start_root
20	/* should not return */
211:
22	b 1b
23
24.section .bss
25__stack_base:
26	.align 16
27	.space CONFIG_SEL4RUNTIME_ROOT_STACK
28__stack_top:
29