Cleaned up jump into the BaS.
This commit is contained in:
@@ -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"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user