View | Details | Raw Unified | Return to bug 201268
Collapse All | Expand All

(-)b/sys/arm/arm/elf_trampoline.c (+4 lines)
Lines 173-178 bzero(void *addr, int count) Link Here
173
}
173
}
174
174
175
static void arm9_setup(void);
175
static void arm9_setup(void);
176
static void get_cachetype_cp15();
176
177
177
void
178
void
178
_startC(void)
179
_startC(void)
Lines 701-706 __start(void) Link Here
701
                * Disable MMU.  Otherwise, setup_pagetables call below
702
                * Disable MMU.  Otherwise, setup_pagetables call below
702
                * might overwrite the L1 table we are currently using.
703
                * might overwrite the L1 table we are currently using.
703
                */
704
                */
705
#if defined (CPU_CORTEXA) || defined (CPU_KRAIT)
706
               get_cachetype_cp15();
707
#endif
704
               cpu_idcache_wbinv_all();
708
               cpu_idcache_wbinv_all();
705
               cpu_l2cache_wbinv_all();
709
               cpu_l2cache_wbinv_all();
706
               __asm __volatile("mrc p15, 0, %0, c1, c0, 0\n"
710
               __asm __volatile("mrc p15, 0, %0, c1, c0, 0\n"

Return to bug 201268