Commit graph

42 commits

Author SHA1 Message Date
fe34be982d
Makefile: interface flags fixed 2024-12-12 18:52:36 +08:00
989ee41ac7
Makefile: group -l to avoid deps at image generation 2024-12-11 20:50:32 +08:00
5f096b8805
Makefile: remove unused variables and targets 2024-12-11 17:40:56 +08:00
3e33f2e0f1
Makefile: sort out CFLAGS and LDFLAGS 2024-12-11 17:01:38 +08:00
4be0c3018a
Makefile: add ADD_IMAGE helper 2024-12-11 14:28:28 +08:00
f86387b163
fixup! Makefile: export helpers, improve install target 2024-12-11 14:27:20 +08:00
8c6f9bb716
Makefile: export helpers, improve install target 2024-12-11 12:41:55 +08:00
fa7d9c5eb0
fixup! Makefile: start moving to macro based Makefile target generation 2024-12-10 18:12:00 +08:00
54ee5d6c31
Makefile: start moving to macro based Makefile target generation
- libam-riscv32-nemu is working.
- libam on platforms other than riscv32-nemu has not been worked on yet.
- klib has not been worked on yet.
2024-12-10 17:46:47 +08:00
5fee5aad38
feat: make compatible with openperf 2024-11-09 19:47:58 +08:00
Zihao Yu
0e37b47498 {x86,x86_64}-qemu: fix "array subscript 0 is outside array bounds"
* see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523#c1
2024-08-28 12:53:32 +08:00
Zihao Yu
84051a9071 Makefile: add dependency for linker scripts 2024-06-30 15:24:54 +08:00
Yu Jin
fe84c58450 feat: aarch64 linux support 2024-06-13 11:10:38 +08:00
Zihao Yu
c52a41181f {nemu,npc}: inject mainargs to the bin file
* this removes the dependency of trm.c to keep the mainargs up-to-date
2024-05-12 21:34:43 +08:00
ULeang
c3ffbc97c3 Makefile: refine image dependency 2024-05-12 21:25:48 +08:00
Zihao Yu
9d1cb1d563 riscv32mini: include the path of origin source
* this supports including other files in the original .S source
2024-05-02 12:27:53 +08:00
Zihao Yu
56d4ae7165 add riscv32mini-nemu 2024-05-02 12:26:37 +08:00
Zihao Yu
493a0650ce native,ioe: add uart 2024-01-17 13:47:32 +08:00
Zihao Yu
81ac173949 sciprts,riscv32-nemu: remove 'e' in mabi 2024-01-17 13:47:10 +08:00
烟雨松 Yan Yusong
8878f1f6ce
am: fix riscv32-nemu's mabi 2023-08-29 14:43:20 +08:00
Zihao Yu
a4d3661c31 riscv32e-npc: add libgcc to support RVM with library 2023-07-02 14:29:39 +08:00
Zihao Yu
d341fb23a0 add riscv32e-npc 2023-07-02 14:29:39 +08:00
Zihao Yu
e0ae9b7651 am,include,arch: merge riscv*.h into riscv.h 2023-07-02 14:29:39 +08:00
Zihao Yu
ad8f8fb636 scripts,isa: merge riscv{32,64}.mk into riscv.mk 2023-07-02 14:29:17 +08:00
Zihao Yu
e8943b31fc scripts,native: pass LDFLAGS to g++ 2023-06-04 16:45:50 +08:00
Zihao Yu
67699be876 am: add loongarch32r-nemu 2022-11-15 15:24:49 +08:00
Zihao Yu
ad9504123f scripts,riscv32: fix compile error by missing zicsr with latest gcc 2022-11-09 16:45:41 +08:00
Zihao Yu
31a5a10f48 scripts,linker.ld: supress waring about RWX segment from ld
* `xxx has a LOAD segment with RWX permissions`
2022-11-09 16:45:41 +08:00
Zihao Yu
024441cbed Makefile: supress warning about executable stack from ld 2.39
* `missing .note.GNU-stack section implies executable stack`
2022-11-09 16:45:41 +08:00
Zihao Yu
89939ad7a2 riscv64-npc: enable RVM 2022-02-20 19:17:10 +08:00
Zihao Yu
198ce90352 nemu: run with normal mode by default 2022-01-20 14:43:25 +08:00
Zihao Yu
30e5cd0c7e ready for ics2021 2021-08-11 16:21:16 +08:00
Zihao Yu
3cf0ee6d42 add spike 2021-08-03 20:12:28 +08:00
Zihao Yu
01d76dd0d5 riscv64-mycpu: pass compilation of am-tests 2021-07-13 16:59:47 +08:00
Zihao Yu
07eb9ba416 klib: move muldi3.S and div.S to riscv64-mycpu
* they will cause compile error with other ARCHs
2021-07-13 16:41:40 +08:00
Zihao Yu
17037fabb0 am,mycpu: refactor directory structure 2021-07-13 16:20:49 +08:00
181250012-Chen Lu
1a4ad39176 add riscv64-mycpu 2021-07-13 16:00:11 +08:00
Zihao Yu
a94708b3b5 2021 pre-release 2021-07-13 15:53:57 +08:00
Zihao Yu
11059d5b6f add riscv64-nemu 2021-05-03 16:51:02 +08:00
Zihao Yu
0f6f91dee3 x86: remove endbr32 in Ubuntu 20.04 with a CPU newer than Comet Lake 2020-10-11 14:42:32 +08:00
Zihao Yu
a1c8ab14d1 nemu: keep the binary code minimal 2020-10-10 21:51:49 +08:00
Yanyan Jiang
61348e8b07 2020 release 2020-09-04 00:13:55 +08:00