Source-Changes archive

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

CVS commit: src/sys/arch

Module Name:    src
Committed By:   matt
Date:           Thu Aug 16 17:35:01 UTC 2012

Modified Files:
        src/sys/arch/acorn26/acorn26: cpuswitch.c except.c machdep.c
        src/sys/arch/arm/arm: arm_machdep.c ast.c compat_13_machdep.c
            compat_16_machdep.c syscall.c undefined.c
        src/sys/arch/arm/arm32: arm32_machdep.c cpuswitch.S fault.c
        src/sys/arch/arm/include: cpu.h frame.h pcb.h proc.h
        src/sys/arch/arm/include/arm32: frame.h

Log Message:
small rototill.
pcb_flags is dead.  PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT.  This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf.  Again this avoids a lot of pcb
references just to access or set this.  It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.

To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/acorn26/acorn26/cpuswitch.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/acorn26/acorn26/except.c \
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/acorn26/acorn26/machdep.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/arm/arm_machdep.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/arm/ast.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/arm/compat_13_machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/arm/compat_16_machdep.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/arm/arm/syscall.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/arm/arm/undefined.c
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/arm/arm32/arm32_machdep.c
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/arm/arm32/cpuswitch.S
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/arm/arm32/fault.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/arm/arm32/
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/arm/arm32/vm_machdep.c
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/arm/include/cpu.h
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/include/frame.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/include/pcb.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/include/proc.h
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/arm/include/arm32/frame.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