still a few functions left to fix

This commit is contained in:
Markus Fröschle
2012-10-13 17:42:09 +00:00
parent 1975422489
commit 4e53d54fd7

View File

@@ -296,7 +296,7 @@ void wait_pll(void)
{ {
do { do {
wait1ms(); wait1ms();
} while (! * (uint16_t *) 0xf0000800); } while (! * (volatile uint16_t *) 0xf0000800);
} }
void init_pll(void) void init_pll(void)
@@ -819,7 +819,7 @@ asm(
"cmp.l A4,A0\n\t" "cmp.l A4,A0\n\t"
"blt BaS_copy_loop\n\t" "blt BaS_copy_loop\n\t"
"\n\t" "\n\t"
"intouch A3\n\t" /* we'd better update caches to contain the data we just copied */ "intouch A3\n\t" /* FIXME: we'd better update caches to contain the data we just copied */
"jmp (A3)\n\t" "jmp (A3)\n\t"
"copy_start:\n\t" "copy_start:\n\t"
"nop\n\t" "nop\n\t"