Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   uwe
Date:           Sun Jun  1 23:07:20 UTC 2008

Modified Files:
        src/lib/libpthread/arch/sh3: _context_u.S genassym.cf
        src/sys/arch/sh3/include: mcontext.h
        src/sys/arch/sh3/sh3: sh3_machdep.c

Log Message:
Recycle unused _REG_EXPEVT slot in mcontext for _REG_GBR.

As the size of mcontext is not changed, we avoid the hassle of
versioning all the calls that use it.

_REG_EXPEVT was never used by any code in the tree.  Reporting EXPEVT
makes sense only for signals and in that case we pass it to userland
in ksi_trap already which is official MI way to get this (MD) information.

Old binaries running on new kernels will now have their GBR set from
new mcontext, but that's ok too, as GBR was not properly supported by
old kernels (not saved in trapframe), so old binaries couldn't have
possibly used it anyway.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libpthread/arch/sh3/_context_u.S
cvs rdiff -r1.7 -r1.8 src/lib/libpthread/arch/sh3/genassym.cf
cvs rdiff -r1.6 -r1.7 src/sys/arch/sh3/include/mcontext.h
cvs rdiff -r1.73 -r1.74 src/sys/arch/sh3/sh3/sh3_machdep.c

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