From 8834829c50bf3705662bf698dcc0c42d05a02bc8 Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 16 Apr 2023 05:40:25 +0000 Subject: [PATCH] Trap 17 (T_ALIGNFLT) supplies an error code in hardware; use TRAP() instead of ZTRAP(). T_ALIGNFLT fixed in NetBSD on 2003-12-12 ok deraadt@ jsg@ --- sys/arch/i386/i386/locore.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index df2d034b936..a3511cf4199 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.200 2023/01/31 15:18:54 deraadt Exp $ */ +/* $OpenBSD: locore.s,v 1.201 2023/04/16 05:40:25 guenther Exp $ */ /* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */ /*- @@ -1166,7 +1166,7 @@ IDTVEC(fpu) ZTRAP(T_ARITHTRAP) #endif IDTVEC(align) - ZTRAP(T_ALIGNFLT) + TRAP(T_ALIGNFLT) /* 18 - 31 reserved for future exp */ /* -- 2.20.1