[U-Boot] A question about mpc85xx tlb1

Dear list,
In u-boot-2011.12/arch/powerpc/cpu/mpc85xx/cpu_init_early.c , line 151
void cpu_init_early_f(void) { ... invalidate_tlb(1);
... }
The tlb1 has beening invalidated int the line 151, but I don't know when it was validated again. It makes me feel very confused, please help me.
Best regards, Xu Yang

On 03/16/2012 04:40 AM, 徐阳 wrote:
Dear list,
In u-boot-2011.12/arch/powerpc/cpu/mpc85xx/cpu_init_early.c , line 151
void cpu_init_early_f(void) { ... invalidate_tlb(1);
... }
The tlb1 has beening invalidated int the line 151, but I don't know when it was validated again. It makes me feel very confused, please help me.
This command invalidates each entry of the TLB1 array that does not have IPROT set. Ordinarily there are no such entries.
You don't "revalidate" after invalidating a TLB, you just load whatever entries you want to be there.
-Scott
participants (2)
-
Scott Wood
-
徐阳