1/*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifdef ARCH_ARM64
18#include <lk/asm.h>
19
20SECTION_GNU_NOTE_PROPERTY_AARCH64_FEATURES(GNU_NOTE_FEATURE_AARCH64_BTI)
21#endif
22
23.section .data
24
25.global boot_start_app_begin, boot_start_app_end
26.hidden boot_start_app_begin, boot_start_app_end
27.balign 4096
28boot_start_app_begin:
29.incbin BOOT_START_APP
30boot_start_app_end:
31
32.global never_start_app_begin, never_start_app_end
33.hidden never_start_app_begin, never_start_app_end
34.balign 4096
35never_start_app_begin:
36.incbin NEVER_START_APP
37never_start_app_end:
38
39.global port_start_app_begin, port_start_app_end
40.hidden port_start_app_begin, port_start_app_end
41.balign 4096
42port_start_app_begin:
43.incbin PORT_START_APP
44port_start_app_end:
45
46.global port_start_fail_app_begin, port_start_fail_app_end
47.hidden port_start_fail_app_begin, port_start_fail_app_end
48.balign 4096
49port_start_fail_app_begin:
50.incbin PORT_START_FAIL_APP
51port_start_fail_app_end:
52
53.global restart_app_begin, restart_app_end
54.hidden restart_app_begin, restart_app_end
55.balign 4096
56restart_app_begin:
57.incbin RESTART_APP
58restart_app_end:
59
60.global port_waiter_app_begin, port_waiter_app_end
61.hidden port_waiter_app_begin, port_waiter_app_end
62.balign 4096
63port_waiter_app_begin:
64.incbin PORT_WAITER_APP
65port_waiter_app_end:
66
67.global unsigned_app_begin, unsigned_app_end
68.hidden unsigned_app_begin, unsigned_app_end
69.balign 4096
70unsigned_app_begin:
71.incbin UNSIGNED_APP
72unsigned_app_end:
73
74.global dev_only_app_begin, dev_only_app_end
75.hidden dev_only_app_begin, dev_only_app_end
76.balign 4096
77dev_only_app_begin:
78.incbin DEV_ONLY_APP
79dev_only_app_end:
80