ecf2d82159
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <zhangbingru@rt-thread.com> Co-authored-by: zhkag <zhkag@foxmail.com>
23 lines
493 B
ArmAsm
23 lines
493 B
ArmAsm
/*
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-10-19 RT-Thread the first version
|
|
*/
|
|
|
|
#include "cpuport.h"
|
|
#include "stackframe.h"
|
|
|
|
.global _rt_thread_entry
|
|
_rt_thread_entry:
|
|
LOAD ra, (sp) /* texit */
|
|
addi sp, sp, 8
|
|
LOAD a0, (sp) /* parameter */
|
|
addi sp, sp, 8
|
|
LOAD t0, (sp) /* tentry */
|
|
addi sp, sp, 8
|
|
jr t0
|