Subject: Re: port-mips/31915: provide centralized wired_map logic
To: None <tsutsui@netbsd.org, gnats-admin@netbsd.org,>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: netbsd-bugs
Date: 11/01/2005 16:35:02
The following reply was made to PR port-mips/31915; it has been noted by GNATS.
From: "Garrett D'Amore" <garrett_damore@tadpole.com>
To: SODA Noriyuki <soda@sra.co.jp>
Cc: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, gnats-bugs@NetBSD.org,
port-mips@NetBSD.org
Subject: Re: port-mips/31915: provide centralized wired_map logic
Date: Tue, 01 Nov 2005 08:34:07 -0800
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
>
>