cvs commit: src/sys/alpha/alpha machdep.c src/sys/amd64/amd64
machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c
src/sys/kern kern_context.c src/sys/pc98/i386 machdep.c
src/sys/powerpc/powerpc machdep.c src/sys/sparc64/sparc64 ...
Marcel Moolenaar
marcel at FreeBSD.org
Sun Nov 9 12:31:05 PST 2003
marcel 2003/11/09 12:31:04 PST
FreeBSD src repository
Modified files:
sys/alpha/alpha machdep.c
sys/amd64/amd64 machdep.c
sys/i386/i386 machdep.c
sys/ia64/ia64 machdep.c
sys/kern kern_context.c
sys/pc98/i386 machdep.c
sys/powerpc/powerpc machdep.c
sys/sparc64/sparc64 machdep.c
sys/sys ucontext.h
Log:
Change the clear_ret argument of get_mcontext() to be a flags argument.
Since all callers either passed 0 or 1 for clear_ret, define bit 0 in
the flags for use as clear_ret. Reserve bits 1, 2 and 3 for use by MI
code for possible (but unlikely) future use. The remaining bits are for
use by MD code.
This change is triggered by a need on ia64 to have another knob for
get_mcontext().
Revision Changes Path
1.214 +2 -2 src/sys/alpha/alpha/machdep.c
1.597 +2 -2 src/sys/amd64/amd64/machdep.c
1.581 +2 -2 src/sys/i386/i386/machdep.c
1.164 +2 -2 src/sys/ia64/ia64/machdep.c
1.7 +2 -2 src/sys/kern/kern_context.c
1.330 +2 -2 src/sys/pc98/i386/machdep.c
1.63 +1 -1 src/sys/powerpc/powerpc/machdep.c
1.103 +2 -2 src/sys/sparc64/sparc64/machdep.c
1.11 +9 -2 src/sys/sys/ucontext.h
More information about the cvs-src
mailing list