Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys



Module Name:    syssrc
Committed By:   manu
Date:           Sat Sep 21 21:15:03 UTC 2002

Modified Files:
        syssrc/sys/arch/mips/mips: trap.c
        syssrc/sys/compat/aout: aout_exec.c
        syssrc/sys/compat/aoutm68k: aoutm68k_exec.c
        syssrc/sys/compat/freebsd: freebsd_exec.c
        syssrc/sys/compat/hpux: hpux_exec.c
        syssrc/sys/compat/ibcs2: ibcs2_exec.c
        syssrc/sys/compat/irix: irix_exec.c irix_mman.c irix_prctl.c
            irix_prctl.h irix_syssgi.c
        syssrc/sys/compat/linux/common: linux_exec.c
        syssrc/sys/compat/mach: mach_exec.c
        syssrc/sys/compat/netbsd32: netbsd32_netbsd.c
        syssrc/sys/compat/osf1: osf1_exec.c
        syssrc/sys/compat/pecoff: pecoff_emul.c
        syssrc/sys/compat/sunos: sunos_exec.c
        syssrc/sys/compat/sunos32: sunos32_exec.c
        syssrc/sys/compat/svr4: svr4_exec.c
        syssrc/sys/compat/svr4_32: svr4_32_exec.c
        syssrc/sys/compat/ultrix: ultrix_misc.c
        syssrc/sys/kern: kern_exec.c
        syssrc/sys/sys: proc.h

Log Message:
- Introduce a e_fault field in struct proc to provide emulation specific
memory fault handler. IRIX uses irix_vm_fault, and all other emulation
use NULL, which means to use uvm_fault.

- While we are there, explicitely set to NULL the uninitialized fields in
struct emul: e_fault and e_sysctl on most ports

- e_fault is used by the trap handler, for now only on mips. In order to avoid
intrusive modifications in UVM, the function pointed by e_fault does not
has exactly the same protoype as uvm_fault:
int uvm_fault __P((struct vm_map *, vaddr_t, vm_fault_t, vm_prot_t));
int e_fault __P((struct proc *, vaddr_t, vm_fault_t, vm_prot_t));

- In IRIX share groups, all the VM space is shared, except one page.
This bounds us to have different VM spaces and synchronize modifications
to the VM space accross share group members. We need an IRIX specific hook
to the page fault handler in order to propagate VM space modifications
caused by page faults.


To generate a diff of this commit:
cvs rdiff -r1.171 -r1.172 syssrc/sys/arch/mips/mips/trap.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/compat/aout/aout_exec.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/compat/aoutm68k/aoutm68k_exec.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/compat/freebsd/freebsd_exec.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/compat/hpux/hpux_exec.c
cvs rdiff -r1.49 -r1.50 syssrc/sys/compat/ibcs2/ibcs2_exec.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/compat/irix/irix_exec.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/compat/irix/irix_mman.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/compat/irix/irix_prctl.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/compat/irix/irix_prctl.h
cvs rdiff -r1.28 -r1.29 syssrc/sys/compat/irix/irix_syssgi.c
cvs rdiff -r1.58 -r1.59 syssrc/sys/compat/linux/common/linux_exec.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/compat/mach/mach_exec.c
cvs rdiff -r1.64 -r1.65 syssrc/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/compat/osf1/osf1_exec.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/pecoff/pecoff_emul.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/compat/sunos/sunos_exec.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/compat/sunos32/sunos32_exec.c
cvs rdiff -r1.47 -r1.48 syssrc/sys/compat/svr4/svr4_exec.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/compat/svr4_32/svr4_32_exec.c
cvs rdiff -r1.78 -r1.79 syssrc/sys/compat/ultrix/ultrix_misc.c
cvs rdiff -r1.155 -r1.156 syssrc/sys/kern/kern_exec.c
cvs rdiff -r1.144 -r1.145 syssrc/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index