Subject: Re: CVS commit: syssrc
To: None <thorpej@netbsd.org>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: source-changes
Date: 04/23/2001 19:11:25
Jason R Thorpe <thorpej@netbsd.org> writes:

> Module Name:	syssrc
> Committed By:	thorpej
> Date:		Sun Apr 22 17:22:58 UTC 2001
> 
> Modified Files:
> 	syssrc/sys/arch/alpha/alpha: pmap.c
> 	syssrc/sys/arch/arm26/arm26: pmap.c
> 	syssrc/sys/arch/mips/mips: pmap.c
> 	syssrc/sys/arch/vax/vax: pmap.c
> 	syssrc/sys/uvm: uvm_page.c uvm_pmap.h
> 
> Log Message:
> Make pmap_virtual_space() a required pmap function, even on platforms
> which have pmap_steal_memory().  This is to reduce the API differences
> between pmaps that implement pmap_steal_memory() and pmaps which do
> not.
> 
> Note that pmap_steal_memory() needs to adjust *vstartp and/or
> *vendp only if it used addresses within the range provided to UVM
> via the pmap_virtual_space() call.  I.e. it is not necessary to do
> so in any current pmap_steal_memory() implementation.

pmap_virtual_space() is called much earlier than when
virtual_{avail,end} is initialized (at least on alpha and mips).

enami.