NetBSD-Bugs archive

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

PR/54702 CVS commit: src/sys/arch/aarch64



The following reply was made to PR port-arm/54702; it has been noted by GNATS.

From: "Rin Okuyama" <rin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/54702 CVS commit: src/sys/arch/aarch64
Date: Sun, 24 Nov 2019 04:08:36 +0000

 Module Name:	src
 Committed By:	rin
 Date:		Sun Nov 24 04:08:36 UTC 2019
 
 Modified Files:
 	src/sys/arch/aarch64/aarch64: exec_machdep.c netbsd32_machdep.c trap.c
 	src/sys/arch/aarch64/include: netbsd32_machdep.h param.h proc.h
 
 Log Message:
 PR port-arm/54702
 
 Add support for earmv6hf binaries on COMPAT_NETBSD32 for aarch64:
 
 - Emulate ARMv6 instructions with cache operations register (c7), that
   are deprecated since ARMv7, and disabled on ARMv8 with LP64 kernel.
 
 - ep_machine_arch (default: earmv7hf) is copied from executables, as we
   do for mips64. "uname -p" reports earmv6hf if compiled for earmv6hf;
   configure scripts etc can determine the appropriate architecture.
 
 Many thanks to ryo@ for helping me to add support of Thumb-mode,
 as well as providing exhaustive test cases:
 
   https://github.com/ryo/mcr_test/
 
 We've confirmed:
 
 - Emulation works in Thumb-mode.
 - T32 16-bit length illegal instruction results in SIGILL, even if
   it is located nearby a boundary b/w mapped and unmapped pages.
 - T32 32-bit instruction results in SIGSEGV if it is located across
   a boundary b/w mapped and unmapped pages.
 
 XXX
 pullup to netbsd-9
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/aarch64/exec_machdep.c
 cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/aarch64/netbsd32_machdep.c
 cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/trap.c
 cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/include/netbsd32_machdep.h
 cvs rdiff -u -r1.12 -r1.13 src/sys/arch/aarch64/include/param.h
 cvs rdiff -u -r1.3 -r1.4 src/sys/arch/aarch64/include/proc.h
 
 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