* [U-Boot] A question about mpc85xx tlb1
@ 2012-03-16 9:40 徐阳
2012-03-16 18:04 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: 徐阳 @ 2012-03-16 9:40 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] A question about mpc85xx tlb1
2012-03-16 9:40 [U-Boot] A question about mpc85xx tlb1 徐阳
@ 2012-03-16 18:04 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2012-03-16 18:04 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-16 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 9:40 [U-Boot] A question about mpc85xx tlb1 徐阳
2012-03-16 18:04 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox