blob: cb636c9a4f4bf6018af97c99d5466a66cbe1abb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* 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
|