From bfb2f36115eaa70aeb57ea843c9899ee82fe0902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Sun, 21 Oct 2012 20:59:32 +0000 Subject: [PATCH] Backup CACR into _rt_cacr. --- sources/startcf.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/startcf.S b/sources/startcf.S index c0f9fdb..a6722ca 100644 --- a/sources/startcf.S +++ b/sources/startcf.S @@ -41,6 +41,8 @@ warmstart: */ move.l #0xa50c8120,d0 movec d0,cacr + andi.l #0xfefbfeff,d0 // Clear invalidate bits + move.l d0,_rt_cacr /* initialize any hardware specific issues */ bra _initialize_hardware