William Wang
b519ebcd24
southlake: use xiangshan drivers
2022-05-01 13:00:48 +08:00
William Wang
a16cb86897
doc: add mc bring-up drivers explanation
...
Written by @wakafa1
2022-05-01 12:57:21 +08:00
William Wang
8654979e02
Merge remote-tracking branch 'origin/master' into southlake
2022-05-01 12:49:19 +08:00
William Wang
766ac82103
southlake: add -DNOPRINT macro to disable printf / uart
2022-05-01 12:48:54 +08:00
William Wang
e8e77d8311
Merge branch 'driver-adding'
2022-05-01 10:25:46 +08:00
William Wang
194056f882
riscv64: add southlake and southlake-flash
2022-04-30 16:41:57 +08:00
zzy
fbb668f993
drivers: add description of cache
2022-04-30 11:52:14 +08:00
zzy
1b55242411
drivers: add description of pma
2022-04-30 11:18:20 +08:00
zzy
8290b2fd9b
amtest: fix bug in cache test
2022-04-30 10:54:08 +08:00
zzy
c109660a4f
amtest: cache test
2022-04-30 01:04:52 +08:00
Guokai Chen
8684c6e365
drivers: add more description
2022-04-29 17:51:02 +08:00
zzy
c6de5bae09
fix type
2022-04-29 16:53:19 +08:00
wangkaifan
74075a2d39
misc: fix compatibility
2022-04-29 16:40:23 +08:00
zzy
e9e13ef797
fix xs directory
2022-04-29 12:23:54 +08:00
Guokai Chen
cefeec9e78
drivers: fixup for xs
2022-04-29 11:42:08 +08:00
Yinan Xu
216c43f8eb
extintr: trigger illegal inst to clear seip
2022-04-29 10:07:27 +08:00
Yinan Xu
7fdab696dd
extintr: trigger illegal inst to clear seip
2022-04-29 09:24:37 +08:00
Guokai Chen
220c391158
amtest: fix inconsistent function call
2022-04-29 01:08:50 +08:00
zzy
97150328b7
add all files in xs directory
2022-04-29 00:18:34 +08:00
zzy
d60540bb26
interface of cache and pma
2022-04-28 23:56:00 +08:00
Guokai Chen
056cd954f7
drivers: Add function descriptions for PMP, CLINT, MMU and PLIC
2022-04-28 21:31:47 +08:00
Yinan Xu
2c37f421df
extintr: update wfi
2022-04-28 21:19:41 +08:00
wangkaifan
fa9cbbc0c0
misc: fix code compatibility
2022-04-27 11:12:09 +08:00
Jay
adfecdcf04
Merge pull request #12 from OpenXiangShan/update-readme
...
README: add illustration for building flash images
2022-04-25 15:28:48 +08:00
Jin Yue
ca7444aef3
README: add illustration for building flash images
2022-04-25 15:26:25 +08:00
Guokai Chen
36a8e1e2ad
drivers cleanup
2022-04-25 12:50:24 +08:00
Guokai Chen
5012dfb5b2
plic mostly done
2022-04-25 12:50:24 +08:00
Guokai Chen
d36d94911c
page table mostly done
2022-04-25 12:50:24 +08:00
Guokai Chen
07a0854988
minor pmp fix
2022-04-25 12:50:24 +08:00
Guokai Chen
b067d9555e
PMP
2022-04-25 12:50:24 +08:00
Guokai Chen
f3ef35e6fe
PMP initialize
2022-04-25 12:50:24 +08:00
Guokai Chen
f484de83b8
PMP framework init
2022-04-25 12:50:24 +08:00
Guokai Chen
5f3f54af23
timer done
2022-04-25 12:50:19 +08:00
Guokai Chen
d9b92ea60a
disable debug logs
2022-04-25 12:49:52 +08:00
Guokai Chen
2036bd41a1
fix interrupt init
2022-04-25 12:49:52 +08:00
Guokai Chen
cded2623a6
rebase drivers to mainline
2022-04-25 12:49:35 +08:00
Guokai Chen
fe0206ef55
fix CROSS_COMPILE on non-ELF systems
2022-04-25 12:48:53 +08:00
wangkaifan
a09e3a50df
am,mpe: add init_tls in _mpe_init
2022-04-22 21:12:30 +08:00
wangkaifan
43cad0ab42
am,amtest,mpe: support atomic_add and barrier
2022-04-22 21:04:15 +08:00
wangkaifan
bd46d7d472
test: enhance mp in amtest with new APIs
2022-04-21 19:37:05 +08:00
wangkaifan
e35b4eadff
am,riscv,mpe: support basic MPE for xs-dualcore
...
* add two extra APIs for mpe: _mpe_setncpu & _mpe_wakeup
* implement all mpe APIs
* add new linker scripts and start assembly
2022-04-21 19:31:31 +08:00
wangkaifan
e3e3f4d37f
xs,am: add xsextra as supplementary test API specified for xs test suit
...
* Thus, no need to implement APIs in xsextra for nemu,qemu,native,etc.
2022-04-20 09:21:31 +08:00
Jay
70a1488d43
Merge pull request #11 from OpenXiangShan/add-flash
...
add a 1-interation-coremark as a load image test
2022-04-13 16:32:11 +08:00
Jin Yue
8d0c11d238
add default load image
2022-04-13 16:26:13 +08:00
Jin Yue
2f5a8e0e7a
Merge branch 'flash-fetch'
2022-04-13 12:24:19 +08:00
Jin Yue
014b8df7c6
loader: use linux.bin as default ELF_PATH
2022-04-13 12:15:54 +08:00
Jin Yue
f77320c90b
update riscv64-xs-flash ARCH makefile
...
* use link script in am/src/nemu/isa/riscv/boot/loaderflash.ld
* start_flash.S add pmp disable ram executable
* trm_flash.c add copy_data() and init_bss() functions
2022-04-13 12:12:48 +08:00
William Wang
35fc755fb5
cbotest: add basic llc op test
2022-04-13 12:07:49 +08:00
wangkaifan
eec21b642b
aliastest: add assembly for jit code
2022-03-22 18:09:32 +08:00
wangkaifan
209586761f
aliastest: add directed functional test for jit code with cache alias
...
* TODO: waveform is to be checked to assert correction
2022-03-22 18:00:28 +08:00