OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Miod Vallat (miodcvs.openbsd.org)
Date: Sat Nov 27 2010 - 13:41:48 CST


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2010/11/27 12:41:48

Modified files:
        sys/arch/sparc/include: cpu.h proc.h
        sys/arch/sparc/sparc: emul.c machdep.c trap.c
        sys/arch/sparc64/include: cpu.h proc.h
        sys/arch/sparc64/sparc64: emul.c machdep.c trap.c

Log message:
Misaligned load/store recovery code in the kernel, enabled by T_FIXALIGN
userland traps on a per-process basis, were necessary for *some* SunOS
binaries on sparc, which had to compiled with explicit misaligned access code
generation (i.e. for vendors to release a working SunOS/sparc version of their
code until they could fix their bogus code).

There is no reason to keep this code on sparc64, and now that we don't provide
COMPAT_SUNOS anymore, there is no reason to keep this code on sparc.

ok kettenis