Cleaned up jump into the BaS.

This commit is contained in:
Vincent Rivière
2012-10-20 15:59:03 +00:00
parent 9531bac14d
commit 452e52ad5a

View File

@@ -722,11 +722,7 @@ void initialize_hardware(void) {
/* we have copied a code area, so flush the caches */ /* we have copied a code area, so flush the caches */
flush_and_invalidate_caches(); flush_and_invalidate_caches();
__asm__ __volatile__( /* jump into the BaS in RAM */
" move.l %0,a3 | calculated start address\n\t" extern void BaS(void);
" jmp (a3) | go! \n\t" BaS();
/* output */ :
/* input */ : "g" (jmp)
/* clobber */: "a3", "memory"
);
} }