OpenGrok
Cross Reference: netbsd32_machdep.h
xref
: /
src
/
sys
/
arch
/
arm
/
include
/
netbsd32_machdep.h
Home
|
History
|
Annotate
|
Download
|
only in
include
History log of
/src/sys/arch/arm/include/netbsd32_machdep.h
Revision
Date
Author
Comments
1.4
06-Nov-2021
thorpej
COMPAT_NETBSD32 is all about running the 32-bit flavor of native
binaries on a 64-bit platform[*], as such:
- Make the logic about which "sendsig" flavor to call MI (as it is in the
native 64-bit environment) and follow the same rules as the native 32-bit
environment.
- Make COMPAT_NETBSD32 x COMPAT_16 work the same as it would in the
native 32-bit environment by providing a netbsd32_sendsig_sigcontext_16_hook,
rather than overriding the entire sendsig logic with a netbsd32_sendsig_hook.
- In netbsd32___sigaction_sigtramp(), make sure the compat_netbsd32_16
module is loaded if the trampoline version specifies a sigcontext style
handler, otherwise return EINVAL so that libc can try again with siginfo
style.
[*] ...except for arm32, which uses it to mean "run 32-bit OABI binaries
from the 32-bit EABI environment". Doing it this way was arguably a mistake,
but we are stuck with it for now, so support it by providing a machine-
dependent override for netbsd32_sendsig() that also disables the corresponding
logic in netbsd32___sigaction_sigtramp().
Fixes PR kern/56487.
1.3
06-Oct-2021
skrll
More trailing whitespace
1.2
31-Oct-2017
martin
Allow architectures to define a macro PROC_MACHINE_ARCH(P) and
PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch
(native and netbsd32 commpat resp.).
Use these for arm and mips instead of the (not working, noisy, in case
of arm) sysctl override and #ifdef __mips__ in architecture neutral
code.
1.1
03-Aug-2012
matt
branches: 1.1.2; 1.1.4; 1.1.6;
COMPAT_NETBSD32 support for ARM. Which is strange since ARM is already
32-bits. But the newer ARM ABI AAPCS changes the alignment of 64-bit
fields so structures need to copied in and out to deal with the alignment
change. This is a kludge but makes debugging of AAPCS support much easier.
1.1.6.2
28-Nov-2012
matt
Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
1.1.6.1
03-Aug-2012
matt
file netbsd32_machdep.h was added on branch matt-nb6-plus on 2012-11-28 22:40:29 +0000
1.1.4.2
30-Oct-2012
yamt
sync with head
1.1.4.1
03-Aug-2012
yamt
file netbsd32_machdep.h was added on branch yamt-pagecache on 2012-10-30 17:19:04 +0000
1.1.2.1
03-Dec-2017
jdolecek
update from HEAD
Indexes created Wed Oct 01 19:09:53 GMT 2025