diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-02-14 05:10:18 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-02-14 05:10:18 +0000 |
commit | c55cc0d192f7a44076e9b69df1c82a11b9275150 (patch) | |
tree | 5ca7075cb8474d85127ad707576c205380305c2b /sys | |
parent | 42a0b5daa0b9e065d5250f183389b32d6fa787d8 (diff) |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |