History log of /netbsd-src/sys/arch/arm/arm/cpu_exec.c (Results 1 – 13 of 13)
Revision Date Author Comments
# e092cf89 01-Dec-2020 rin <rin@NetBSD.org>

Switch earmv6{,hf}eb to BE8 in kernel side.

My strategy here is to define _ARM_ARCH_BE8 macro in arm/cdefs.h, if
__ARMEB__ && _ARM_ARCH_6.

Use this macro to determine whether system is compiled for

Switch earmv6{,hf}eb to BE8 in kernel side.

My strategy here is to define _ARM_ARCH_BE8 macro in arm/cdefs.h, if
__ARMEB__ && _ARM_ARCH_6.

Use this macro to determine whether system is compiled for and running on
BE8 mode or not.

Note that, for __ARMEB__, some conditions become compile-time constants
determined by _ARM_ARCH_BE8 macro, e.g., whether BE8 or BE32 are accepted
as a userland binary, or unaligned memory access is possible or not.

show more ...


# aac12b9d 12-Nov-2020 rin <rin@NetBSD.org>

If neither COMPAT_NETBSD32 nor MODULAR is defined, there's
no chance for lwp to be running under COMPAT_NETBSD32.

Suggested by mrg.


# 1f2a4425 10-Nov-2020 rin <rin@NetBSD.org>

Test (epp->ep_esch->es_emul != &emul_netbsd) instead of
(epp->ep_esch->es_emul == &emul_netbsd32) to determine whether curlwp is
running on COMPAT_NETBSD32 or not.

The former is possible even if COM

Test (epp->ep_esch->es_emul != &emul_netbsd) instead of
(epp->ep_esch->es_emul == &emul_netbsd32) to determine whether curlwp is
running on COMPAT_NETBSD32 or not.

The former is possible even if COMPAT_NETBSD32 is not built in the main
kernel. Now, compat_netbsd32 module can work on !COMPAT_NETBSD32 kernel.

Discussed with pgoyette.

XXX
Apply similar fixes, i.e., drop ``#ifdef COMPAT_NETBSD32'' conditional
codes from the rest parts of MD codes for aarch64 and mips64.

show more ...


# b34320da 27-Apr-2015 skrll <skrll@NetBSD.org>

ARM spells the System Control Register SCTLR


# 1ae61159 20-Feb-2014 matt <matt@NetBSD.org>

Make sure to clear MDLWP_NOALIGNFLT on !aapcs or !(armv6 && armv7)


# 053c552b 20-Dec-2013 matt <matt@NetBSD.org>

If we are exec'ing AAPCS and running on armv6+, disable alignment faults
since gcc 4.8 will generate code that uses unaligned accesses.


# 37432b7e 22-Oct-2013 matt <matt@NetBSD.org>

Read the right register for checking big endianess.


# 0d06f966 21-Oct-2013 joerg <joerg@NetBSD.org>

Missing subject.


# 50bfeb71 10-Sep-2013 matt <matt@NetBSD.org>

Support an optional MARCH ELF tag.
Store the MACHINE_ARCH of the executable in mdproc and override sysctl
so that value returned.


# 8bb79fa0 05-Aug-2013 matt <matt@NetBSD.org>

Add EF_ARM_BE8
Make sure that running a program, that it right big-endian format for the
processor. (BE8 for armv7, BE32 for all others).


# 33c1aaf8 11-Aug-2012 matt <matt@NetBSD.org>

Use oabi instead of atpcs32


# 3e95365c 05-Aug-2012 matt <matt@NetBSD.org>

back out elf note changes and use EF_ARM_ABIVERS to determine EABI usage.


# 9fae3660 03-Aug-2012 matt <matt@NetBSD.org>

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 wi

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.

show more ...