Subject: Re: port-mips/31915: provide centralized wired_map logic
To: SODA Noriyuki <soda@sra.co.jp>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: port-mips
Date: 11/01/2005 08:34:07
SODA Noriyuki wrote:

>
>It's OK that upper layer routine like arc/wired_map.c:arc_map_wired()
>or port-mips/31915:mips3_wire_down() use fixed page size.
>But primitive routine like arc/wired_map.c:arc_enter_wired() or
>port-mips/31915:mips3_wire_down_page() should have page size
>and (pa0 + pa1) as its arguments.
>  
>

I think we're in violent agreement here. :-) 

I'll add a primitive function as requested.  It will indeed take all of 
the TLB  arguments.  And it needs to be done so that it updates the 
nwired to coexist peacefully with mips3_wire_down(), so I really do have 
to add it to the MI code.

I'll send a diff shortly.

    -- Garrett

>--
>soda
>  
>