- IRQ: added missing func prototypes

- fixed test_exception_sim

git-svn-id: http://moon:8086/svn/mips@158 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-04-07 20:12:23 +00:00
parent 8121a08ede
commit a0ec266a93
3 changed files with 18 additions and 15 deletions
+6 -6
View File
@@ -5,7 +5,7 @@ include ../make/mips_app.mk
PROG-ml402 = $(addprefix $(BUILD_DIR)/, hello.elf testbench.elf test_irq.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf life.elf r3.elf gunzip.elf basic_math.elf jman_patches.elf jman_patchmeshes.elf jman_polys.elf test_hpi.elf test_vga.elf test_fft.elf)
PROG-denano = $(addprefix $(BUILD_DIR)/, hello.elf dhry.elf queens.elf stanford.elf paranoia.elf rmd160_test.elf Bessel.elf whet.elf phrasen.elf dttl.elf richards_benchmark.elf test_exception.elf testbench_denano.elf)
PROG-sim = $(addprefix $(BUILD_DIR)/, hello.elf)
PROG-sim = $(addprefix $(BUILD_DIR)/, hello.elf test_exception_sim.elf)
all: $(PROG-$(BOARD))
@@ -299,7 +299,7 @@ $(BUILD_DIR)/lwl.elf: $(BUILD_DIR) lwl.c
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/ucb.elf: $(BUILD_DIR) ucb.c
$(CC) $(CFLAGS) -O2 -o $@ ucb.c -lsys_sim >$@.map
$(CC) $(CFLAGS) -O2 -o $@ ucb.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis
$(OBJCOPY) $@ -O binary $@.bin
$(OBJCOPY) -O srec $@ $@.srec
@@ -308,7 +308,7 @@ $(BUILD_DIR)/ucb.elf: $(BUILD_DIR) ucb.c
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/test_timer.elf: $(BUILD_DIR) test_timer.c
$(CC) $(CFLAGS) -O2 -o $@ test_timer.c -lsys_sim >$@.map
$(CC) $(CFLAGS) -O2 -o $@ test_timer.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis
$(OBJCOPY) $@ -O binary $@.bin
$(OBJCOPY) -O srec $@ $@.srec
@@ -317,7 +317,7 @@ $(BUILD_DIR)/test_timer.elf: $(BUILD_DIR) test_timer.c
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/test_exception_sim.elf: $(BUILD_DIR) test_exception_sim.c
$(CC) $(CFLAGS) -O2 -o $@ test_exception_sim.c -lsys_sim >$@.map
$(CC) $(CFLAGS) -o $@ test_exception_sim.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis
$(OBJCOPY) $@ -O binary $@.bin
$(OBJCOPY) -O srec $@ $@.srec
@@ -326,7 +326,7 @@ $(BUILD_DIR)/test_exception_sim.elf: $(BUILD_DIR) test_exception_sim.c
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/test_tlb_sim.elf: $(BUILD_DIR) test_tlb_sim.c
$(CC) $(CFLAGS) -O2 -o $@ test_tlb_sim.c -lsys_sim >$@.map
$(CC) $(CFLAGS) -O2 -o $@ test_tlb_sim.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis
$(OBJCOPY) $@ -O binary $@.bin
$(OBJCOPY) -O srec $@ $@.srec
@@ -335,7 +335,7 @@ $(BUILD_DIR)/test_tlb_sim.elf: $(BUILD_DIR) test_tlb_sim.c
$(OBJCOPY) -O ihex -I binary $@.flash.bin $@.hex
$(BUILD_DIR)/test_dcache_sim.elf: $(BUILD_DIR) test_dcache.c
$(CC) $(CFLAGS) -O0 -o $@ test_dcache.c -lsys_sim >$@.map
$(CC) $(CFLAGS) -O0 -o $@ test_dcache.c $(LIBS) >$@.map
$(OBJDUMP) -d $@ > $@.dis
$(OBJCOPY) $@ -O binary $@.bin
$(OBJCOPY) -O srec $@ $@.srec