Commit Graph

25 Commits

Author SHA1 Message Date
acevest
bce32faac2 fix bumblebee irq entry aligment, fix eclic 2020-01-09 20:18:18 +08:00
daishengdong
c9556307df add tos_slist.h, rename tos.h to tos_k.h 2020-01-03 17:25:38 +08:00
supowang
6485c7da2e Update tos_cpu.c 2019-10-28 20:12:36 +08:00
acevest
f41e287c2a risc-v support all irq handler 2019-10-16 18:10:03 +08:00
supowang
7f001b4230 add license for arch
add license for arch
2019-10-09 15:52:17 +08:00
acevest
1fc66ae527 fix did not save & restore register x1 2019-10-08 21:24:02 +08:00
acevest
ae3ada8dfe reduce one instruction when switch to irq stack 2019-10-08 20:44:58 +08:00
acevest
93ae1c96ca risc-v add irq stack 2019-10-08 20:42:40 +08:00
acevest
41ad2d711e adjust the order of registers on the stack 2019-10-08 14:42:58 +08:00
acevest
b147d060fb save 48bytes when no need to switch task in interrupt handler 2019-10-08 14:41:30 +08:00
acevest
e5e905e9bb adjust the order of registers on the stack 2019-10-08 14:41:30 +08:00
acevest
44f0ac6579 irq context switch do not use flag variable anymore 2019-10-08 14:41:30 +08:00
acevest
3ef8f4eae5 detach risc-v kernel code from gd32v lib 2019-10-02 16:41:23 +08:00
acevest
384a4f6ef3 enable set systick priority for bumblebee 2019-09-26 22:11:24 +08:00
acevest
59c8e69af5 fix risc-v init task gp(global pointer register) bug 2019-09-25 23:29:26 +08:00
acevest
b1b2d1eabc organize risc-v code for spike and bumblebee 2019-09-25 21:53:27 +08:00
acevest
8ef8fed56e fix risc-v gp(global pointer register) problem 2019-09-24 10:29:31 +08:00
acevest
1747cedc61 support GD32VF103C START board 2019-09-24 10:29:31 +08:00
acevest
2d9580cf78 gd32vf103 jump to task success 2019-09-24 10:28:14 +08:00
acevest
1d56297a85 fix code style 2019-09-20 16:38:34 +08:00
acezhao
72b4656c2a remove some comments 2019-09-20 10:46:04 +08:00
acezhao
f3212cc924 add gcc demo 2019-09-18 12:54:03 +08:00
acezhao
de43d4ef0e replace multiple instructions with macro SAVE_CONTEXT and RESTORE_CONTEXT 2019-09-18 12:53:56 +08:00
acezhao
ad72fb73d2 fix port_systick_config bug 2019-09-18 12:53:46 +08:00
acezhao
af245f2e5b port TencentOS tiny to RISC-V 2019-09-18 12:53:38 +08:00