1/*
2 * Copyright (c) 2006-2024, RT-Thread Development Team
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Change Logs:
7 * Date           Author       Notes
8 * 2021-05-18     Jesven       the first version
9 * 2023-06-24     Shell        Support debug frame for user thread
10 */
11
12#ifndef __ASSEMBLY__
13#define __ASSEMBLY__
14#endif
15
16#include "rtconfig.h"
17#include "asm-generic.h"
18#include "asm-fpu.h"
19#include "armv8.h"
20
21.section .text
22
23START_POINT(_thread_start)
24    mov     x0, x21
25    blr     x19
26    mov     x29, #0
27    blr     x20
28    b       .   /* never here */
29START_POINT_END(_thread_start)
30