Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 Alignment fault traps push the error co...



details:   https://anonhg.NetBSD.org/src/rev/b56d66ba0b18
branches:  trunk
changeset: 778939:b56d66ba0b18
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 21 18:52:36 2012 +0000

description:
Alignment fault traps push the error code automatically, so don't use ZTRAP!

diffstat:

 sys/arch/amd64/amd64/vector.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7c267664b367 -r b56d66ba0b18 sys/arch/amd64/amd64/vector.S
--- a/sys/arch/amd64/amd64/vector.S     Sat Apr 21 14:39:35 2012 +0000
+++ b/sys/arch/amd64/amd64/vector.S     Sat Apr 21 18:52:36 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vector.S,v 1.38 2011/06/12 03:35:38 rmind Exp $        */
+/*     $NetBSD: vector.S,v 1.39 2012/04/21 18:52:36 christos Exp $     */
 
 /*-
  * Copyright (c) 1998, 2007, 2008 The NetBSD Foundation, Inc.
@@ -228,7 +228,7 @@
        STI(si)
        jmp     calltrap
 IDTVEC(trap11)
-       ZTRAP(T_ALIGNFLT)
+       TRAP(T_ALIGNFLT)
 IDTVEC(trap12)
        ZTRAP(T_MCA)
 IDTVEC(trap13)



Home | Main Index | Thread Index | Old Index