Skip to content

Commit 8f0c958

Browse files
authored
Merge pull request #97 from sysprog21/wfi
Add coroutine-based SMP support with WFI
2 parents b50f948 + 9329867 commit 8f0c958

File tree

7 files changed

+897
-35
lines changed

7 files changed

+897
-35
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ OBJS := \
169169
uart.o \
170170
main.o \
171171
aclint.o \
172+
coro.o \
172173
$(OBJS_EXTRA)
173174

174175
deps := $(OBJS:%.o=.%.o.d)
@@ -242,6 +243,7 @@ riscv-harts.dtsi: .smp_stamp
242243

243244
minimal.dtb: minimal.dts riscv-harts.dtsi
244245
$(VECHO) " DTC\t$@\n"
246+
$(Q)$(RM) $@
245247
$(Q)$(CC) -nostdinc -E -P -x assembler-with-cpp -undef \
246248
$(DT_CFLAGS) \
247249
$(subst ^,$S,$(filter -D^SEMU_FEATURE_%, $(subst -D$(S)SEMU_FEATURE,-D^SEMU_FEATURE,$(CFLAGS)))) $< \

0 commit comments

Comments
 (0)