Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   drochner
Date:           Thu Aug 22 19:50:55 UTC 2013

Modified Files:
        src/sys/arch/alpha/include: alpha.h
        src/sys/arch/arm/vfp: vfp_init.c
        src/sys/arch/mips/mips: mips_dsp.c mips_fpu.c
        src/sys/arch/powerpc/include: altivec.h fpu.h
        src/sys/arch/powerpc/oea: altivec.c
        src/sys/arch/powerpc/powerpc: fpu.c
        src/sys/kern: kern_cpu.c subr_pcu.c
        src/sys/sys: pcu.h

Log Message:
-extend the pcu(9) API by a function which saves all context on the
 current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
 "LWP has used the coprocessor" flag should be set or reset. The flag
 is reported by pcu_used_p(). If set, future accesses should use the
 state stored in the PCB. If reset, it should be reset to default.
 The former case is useful for setmcontext().
 With that, it should not be necessary anymore to manage the "FPU used"
 state by an additional MD variable.

approved by matt


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/alpha/include/alpha.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/vfp/vfp_init.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/mips/mips_dsp.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/mips/mips_fpu.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/include/altivec.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/include/fpu.h
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/oea/altivec.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/powerpc/powerpc/fpu.c
cvs rdiff -u -r1.59 -r1.60 src/sys/kern/kern_cpu.c
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_pcu.c
cvs rdiff -u -r1.10 -r1.11 src/sys/sys/pcu.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