> > On Aug 18, 2010, at 6:11 PM, matthew green wrote: > > > > >> Module Name: src > >> Committed By: matt > >> Date: Wed Aug 18 18:19:11 UTC 2010 > >> > >> Modified Files: > >> src/sys/uvm [matt-nb5-mips64]: uvm_map.c > >> > >> Log Message: > >> Add a hook so that MD code has handle the change in address space limits > >> when an exec happens. > >> Add a routine to turn on/off UX when an address space changes due to an > >> exec > >> (N32 execing a N64 for instance). > > > > could you do this with #ifdef __HAVE_CPU_VMSPACE_EXEC? > > I could. I just wanted something quick & dirty. Going to use it for sparc?
i just don't like seeing "#if defined(__mips__) && _LP64" in MI code if is easily avoidable. thanks. .mrg.