This commit is contained in:
Markus Fröschle
2015-11-16 15:20:43 +00:00
parent ca2e65ad49
commit af3bd32d41
5 changed files with 379 additions and 376 deletions

View File

@@ -178,7 +178,7 @@ ver:
touch include/version.h
.PHONY: tos
tos:
(cd tos; make)
(cd tos; $(MAKE))
.PHONY: clean
clean:

View File

@@ -375,10 +375,11 @@ void BaS(void)
mmu_init();
xprintf("finished\r\n");
xprintf("copy EmuTOS: ");
xprintf("initialize Coldfire DMA: ");
dma_init();
xprintf("finished\r\n");
xprintf("copy EmuTOS: ");
/* copy EMUTOS */
src = (uint8_t *) EMUTOS;
dma_memcpy(dst, src, EMUTOS_SIZE);

View File

@@ -495,7 +495,8 @@ irq7:
#else // handlers for M5484LITE
irq5: move.w #0x2700,sr // disable interrupts
irq5:
move.w #0x2700,sr // disable interrupts
subq.l #4,sp // extra space
link a6,#-4 * 4 // save gcc scratch registers
@@ -512,7 +513,8 @@ irq5: move.w #0x2700,sr // disable interrupts
rte // return from exception
irq5_forward: move.l 0x74,a0 // fetch OS irq5 vector
irq5_forward:
move.l 0x74,a0 // fetch OS irq5 vector
add.l _rt_vbr,a0 // add runtime vbr
move.l a0,4(a6) // put on stack

View File

@@ -5,11 +5,11 @@
tos: jtagwait bascook vmem_test
jtagwait:
make -C $@
$(MAKE) -C $@
bascook:
make -C $@
$(MAKE) -C $@
vmem_test:
make -C $@
$(MAKE) -C $@