Subject: Re: emulation-specific page fault handling
To: Jaromir Dolecek <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 09/07/2002 23:30:04
> > My plan was to set e_fault for all struct emul, but only use it where it
> > is needed: in sys/arch/mips/mips/trap.c
> Yes, this is what I would like to avoid. I'd like e_fault to behave
> exactly as e.g. e_proc_{exec|fork|exit} or e_sysctl, i.e. it to be optional
> part of emul interface. emuls which don't use it should not be required
> to set it.

No problem here, e_fault is unused for most emulations, so it can be
NULL. Let's say e_fault would be set to NULL for every struct emul
except native (would be uvm_fault) and IRIX (would be irix_vm_fault). 
Emmanuel Dreyfus.  
Avec Windows 3.1 ils etaient au bord du gouffre...
Avec Windows 95 ils ont fait un grand bon en avant.