ARMv7 MMU and cache enabling code in boot/compressed/head.S

From: Moon Hwa Hong
Date: Thu Aug 25 2011 - 20:31:29 EST


Hi!

I started arm linux kernel hacking.
I can't understand 554 line.
I think that 554 line is not necessary.
Because ISB instruction(556 line) makes synchronization between 553 and 557.
Please advice to me.


530 __armv7_mmu_cache_on:
.
.
.
553 mcr p15, 0, r0, c1, c0, 0 @ load control register
554 mrc p15, 0, r0, c1, c0, 0 @ and read it back
555 mov r0, #0
556 mcr p15, 0, r0, c7, c5, 4 @ ISB
557 mov pc, r12

Have a nice day.

MH Hong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/