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 Actually remember to look up the system...



details:   https://anonhg.NetBSD.org/src/rev/e51e7091bc06
branches:  trunk
changeset: 504349:e51e7091bc06
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue Feb 27 23:57:30 2001 +0000

description:
Actually remember to look up the system call we're trying to invoke.
Oops.

diffstat:

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

diffs (26 lines):

diff -r 2a7c5080a7ad -r e51e7091bc06 sys/arch/arm26/arm26/except.c
--- a/sys/arch/arm26/arm26/except.c     Tue Feb 27 22:40:08 2001 +0000
+++ b/sys/arch/arm26/arm26/except.c     Tue Feb 27 23:57:30 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: except.c,v 1.27 2001/02/25 23:07:51 bjh21 Exp $ */
+/* $NetBSD: except.c,v 1.28 2001/02/27 23:57:30 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.27 2001/02/25 23:07:51 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.28 2001/02/27 23:57:30 bjh21 Exp $");
 
 #include "opt_cputypes.h"
 #include "opt_ddb.h"
@@ -254,6 +254,7 @@
                nregargs = 4; nextreg = 0;
        }
        code &= (SYS_NSYSENT - 1);
+       sy = &p->p_emul->e_sysent[code];
 
        nargs = sy->sy_argsize / sizeof(register_t);
        nregargs = min(nregargs, nargs);



Home | Main Index | Thread Index | Old Index