Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/arm26 Correct the mangled-vectors check.



details:   https://anonhg.NetBSD.org/src/rev/2bfa7f2bc557
branches:  trunk
changeset: 500432:2bfa7f2bc557
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Dec 11 23:51:58 2000 +0000

description:
Correct the mangled-vectors check.

diffstat:

 sys/arch/arm26/arm26/except.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 609d377239c3 -r 2bfa7f2bc557 sys/arch/arm26/arm26/except.c
--- a/sys/arch/arm26/arm26/except.c     Mon Dec 11 23:50:16 2000 +0000
+++ b/sys/arch/arm26/arm26/except.c     Mon Dec 11 23:51:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: except.c,v 1.17 2000/12/10 01:27:35 bjh21 Exp $ */
+/* $NetBSD: except.c,v 1.18 2000/12/11 23:51:58 bjh21 Exp $ */
 /*-
  * Copyright (c) 1998, 1999, 2000 Ben Harris
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.17 2000/12/10 01:27:35 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.18 2000/12/11 23:51:58 bjh21 Exp $");
 
 #include "opt_cputypes.h"
 #include "opt_ddb.h"
@@ -110,7 +110,7 @@
        /* Mark trapframe as invalid. */
        p->p_addr->u_pcb.pcb_tf = (void *)-1;
        /* Check that the vectors are valid */
-       for (ptr = (u_int32_t *)0; ptr < (u_int32_t *)0x20; ptr++)
+       for (ptr = (u_int32_t *)0; ptr < (u_int32_t *)0x1c; ptr++)
                if (*ptr != 0xe59ff114)
                        panic("CPU vectors mangled");
 #endif



Home | Main Index | Thread Index | Old Index