Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 D means E here (aarch32), so don't ...
details: https://anonhg.NetBSD.org/src/rev/95bb898d6441
branches: trunk
changeset: 744379:95bb898d6441
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Jan 31 09:08:57 2020 +0000
description:
D means E here (aarch32), so don't check it. A-I-F are checked below
already, so drop the whole line.
diffstat:
sys/arch/aarch64/aarch64/netbsd32_machdep.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 20cc175bfa6a -r 95bb898d6441 sys/arch/aarch64/aarch64/netbsd32_machdep.c
--- a/sys/arch/aarch64/aarch64/netbsd32_machdep.c Fri Jan 31 09:01:23 2020 +0000
+++ b/sys/arch/aarch64/aarch64/netbsd32_machdep.c Fri Jan 31 09:08:57 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.9 2019/11/24 04:08:36 rin Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.10 2020/01/31 09:08:57 maxv Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.9 2019/11/24 04:08:36 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.10 2020/01/31 09:08:57 maxv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -318,8 +318,6 @@
if (__SHIFTOUT(spsr, SPSR_M) != SPSR_M_USR32)
return EINVAL;
- if ((spsr & (SPSR_A64_D|SPSR_A|SPSR_I|SPSR_F)) != 0)
- return EINVAL;
#ifdef __AARCH64EB__
if ((spsr & SPSR_A32_E) == 0)
Home |
Main Index |
Thread Index |
Old Index