From: rahnds Date: Fri, 14 Feb 1997 05:10:17 +0000 (+0000) Subject: Copy all of 040 fp exception vectors into table. previous structure X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4ade085fb05ffd06e99bd1573590ae4a1a6bcbea;p=openbsd Copy all of 040 fp exception vectors into table. previous structure only copied the array size of bytes instead of the array size of ints. --- diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index a71e2f76926..3391f9a1e4d 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.19 1997/02/04 17:22:52 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.20 1997/02/14 05:10:17 rahnds Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -545,7 +545,9 @@ identifycpu() switch (mmutype) { case MMU_68040: #ifdef FPSP - bcopy(&fpsp_tab, &fpvect_tab, &fpvect_end - &fpvect_tab); + bcopy(&fpsp_tab, &fpvect_tab, + (&fpvect_end - &fpvect_tab) * sizeof (fpvect_tab)); + #endif strcat(cpu_model, "+MMU"); break;