Commit Graph

60 Commits

Author SHA1 Message Date
daishengdong 8588240c82 extract exceptions.h 2020-01-19 20:37:57 +08:00
daishengdong 3d9d6198c8 add cortex-v7a support
How To Run:
    see TencentOS-tiny\board\ALPHA_I.MX_emmc_256ddr\README.md

TODO Next:
1. VFP support
2. fault diagnosis support
3. qemu vexpress ca9 support
4. raspberry pi support
5. SMP support
2020-01-19 19:06:24 +08:00
acevest 68e2f5add5 remove rubbish code 2020-01-10 10:19:03 +08:00
acevest 226bacd6f3 delete arch/risc-v/bumblebee/gcc/riscv_port_s.S 2020-01-10 01:09:01 +08:00
acevest e5bbc90aca change pointer type 2020-01-09 23:16:26 +08:00
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
Forest-Rain 92276670a7 mask out R1/SP for msp430 cpu_context_st 2019-11-19 00:26:27 +08:00
Forest-Rain 9b78dc5461 Merge remote-tracking branch 'TOS/master'
port to msp430fr
2019-11-19 00:23:07 +08:00
bourne-h c985305927 TencentOS tiny port to MSP430FR6972 2019-11-18 19:43:41 +08:00
Supowang1989 f63d2d4e48
Merge pull request #56 from thelittlehan/master
linux port更新
2019-10-30 19:16:36 +08:00
supowang ca994901db add GD32E230C_START support 2019-10-30 17:44:37 +08:00
Chen Han 514a4200e7 modify cpu init 2019-10-30 17:41:33 +08:00
Chen Han a58895f50c add mutex in critical section 2019-10-30 16:39:35 +08:00
Chen Han d22ebb3696 update linux port
add cpu delay function
2019-10-29 15:12:20 +08:00
supowang 6485c7da2e Update tos_cpu.c 2019-10-28 20:12:36 +08:00
Supowang1989 080f2e468b
Merge pull request #52 from animala/master
移植M23,谢谢
2019-10-28 11:08:59 +08:00
Grey Huang b76a703108 change files 2019-10-25 18:47:35 +08:00
Chen Han d27bafc82e add transplant to linux 2019-10-25 17:27:54 +08:00
Grey Huang b548a03df4 add fold arm-v8m/ m23 2019-10-25 16:28:16 +08:00
acevest f4d5ff70b2 bumblebee use eclic_mtip_handler as systick handler 2019-10-16 18:16:42 +08:00
acevest f41e287c2a risc-v support all irq handler 2019-10-16 18:10:03 +08:00
acevest c17df06ff7 reduce two instructions in risc-v irq handler 2019-10-09 19:05:20 +08:00
supowang 7f001b4230 add license for arch
add license for arch
2019-10-09 15:52:17 +08:00
Supowang1989 5331ba8890
Merge pull request #34 from acevest/add_irq_stack
risc-v add irq stack
2019-10-09 12:14:43 +08:00
acevest 308ad78e44 mtvec exception handler use 4byte alignment 2019-10-09 12:10:19 +08:00
supowang 45c18c896c add stm32f4 discovery and fix m4 fpu bug 2019-10-09 12:08:06 +08:00
acevest 19e65a4bb7 remove extra instructions in port_sched_start 2019-10-09 11:43:56 +08:00
acevest 21f48361de make irq_restore be executed likely 2019-10-08 21:36:51 +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 2fdc9f600c fix bumblebee trap_entry memory address alignment problem 2019-10-08 14:41:30 +08:00
acevest 2d419440f3 divide bumblebee and spike irq trap entry code 2019-10-08 14:41:30 +08:00
acevest 1e04f5b344 risc-v reduce use 128 bytes irq stack 2019-10-08 13:48:52 +08:00
Supowang1989 1c41f1d5ab
Merge pull request #28 from acevest/gd32v_clk
initialize the clock tree of GD32VF103C_START to 108MHz
2019-10-08 10:09:43 +08:00
acevest a52bb94ed2 initialize the clock tree of GD32VF103C_START to 108MHz 2019-10-03 15:01:46 +08:00
acevest 3ef8f4eae5 detach risc-v kernel code from gd32v lib 2019-10-02 16:41:23 +08:00
supowang 9eaf726d90 fix IAR FPU bug 2019-09-30 11:56:13 +08:00
Supowang1989 73e81714ca
Merge pull request #20 from acevest/context_switch
improve risc-v context switch
2019-09-29 11:30:08 +08:00
acevest e4038592b9 improve risc-v context switch 2019-09-27 17:27:59 +08:00
acevest 384a4f6ef3 enable set systick priority for bumblebee 2019-09-26 22:11:24 +08:00
acevest f03535a484 detach risc-v cpu bumblebee level code from gd32v lib 2019-09-26 22:11:07 +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