[parisc-linux] flush_tlb_all_local:
Grant Grundler
grundler@parisc-linux.org
Sun, 12 Oct 2003 21:12:58 -0600
On Sun, Oct 12, 2003 at 04:07:50PM +0000, Joel Soete wrote:
> ldo R%REAL_MODE_PSW(%r1), %r1
> mtctl %r1, %cr22
> mtctl %r0, %cr17
> mtctl %r0, %cr17
> [...]
>
> Why twice 'mtctl %r0, %cr17'?
Good question. No clue. Looks like a brain fart since clearing it
once should work unless there's a weird bug. I'll remove it.
> and also:
> [...]
> fitmanymiddle: /* Loop if LOOP >= 2 */
> ADDIB> -1,%r31,fitmanymiddle /* Adjusted inner loop
> decr */
> pitlbe 0(%sr1,%r28)
> pitlbe,m %arg1(%sr1,%r28) /* Last pitlbe and addr
> adjust */
>
> Typicaly the function name is flush_..., so why do we 'purge' here?
AFAICT, because purge is sufficient.
It doesn't look like parisc even provides a FITBLE instruction.
thanks,
grant