fix formatting

This commit is contained in:
Markus Fröschle
2017-04-20 15:22:55 +00:00
parent 11a432e59f
commit b445c02e06
8 changed files with 94 additions and 95 deletions

View File

@@ -35,7 +35,6 @@
#include "sd_card.h"
#include "wait.h"
#include "diskio.h"
#include "ff.h"
#include "s19reader.h"
#include "mmu.h"

View File

@@ -66,17 +66,17 @@ void flush_and_invalidate_caches(void)
" clr.l d0 \n\t"
" clr.l d1 \n\t"
" move.l d0,a0 \n\t"
"1: \n\t"
"cfa_setloop%=: \n\t"
" cpushl bc,(a0) | flush\n\t"
" lea 0x10(a0),a0 | index+1\n\t"
" addq.l #1,d1 | index+1\n\t"
" cmpi.w #512,d1 | all sets?\n\t"
" bne.s 1b | no->\n\t"
" bne.s cfa_setloop%= | no->\n\t"
" clr.l d1 \n\t"
" addq.l #1,d0 \n\t"
" move.l d0,a0 \n\t"
" cmpi.w #4,d0 | all ways?\n\t"
" bne.s 1b | no->\n\t"
" bne.s cfa_setloop%= | no->\n\t"
/* input */ :
/* output */ :
/* clobber */ : "cc", "d0", "d1", "a0"