diff options
-rw-r--r-- | Unix.mk | 4 | ||||
-rw-r--r-- | Win.mk | 4 | ||||
-rw-r--r-- | src/lib.c | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -56,10 +56,10 @@ obj/%.ao: src/%.S ${AS} ${AFLAGS} -c $< -o $@ run: build/kernel.elf - ${QEMU} -kernel $< ${QFLAGS} + @${QEMU} -kernel $< ${QFLAGS} run-debug: build/kernel-g.elf - ${QEMU} -kernel $< -s -S ${QFLAGS} + @${QEMU} -kernel $< -s -S ${QFLAGS} debug: build/kernel-g.elf build/kernel.list ${GDB} $< -command=gdbinit @@ -56,10 +56,10 @@ obj/%.ao: src/%.S ${AS} ${AFLAGS} -c $< -o $@ run: build/kernel.elf - ${QEMU} -kernel $< ${QFLAGS} + @${QEMU} -kernel $< ${QFLAGS} run-debug: build/kernel-g.elf - ${QEMU} -kernel $< -s -S ${QFLAGS} + @${QEMU} -kernel $< -s -S ${QFLAGS} debug: build/kernel-g.elf build/kernel.list ${GDB} $< -command=gdbinit @@ -24,7 +24,7 @@ static inline void store32(unsigned long value, unsigned long addr) { } static inline void delay(unsigned long cycles) { - asm volatile("__delay_%=: subs%[cycles], %[cycles], #1;bne __delay_%=\n" + asm volatile("__delay_%=: subs %[cycles], %[cycles], #1;bne __delay_%=\n" : "=r"(cycles): [cycles]"0"(cycles) : "cc"); } |