Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/macppc/macppc Pull up revision 1.64 (requested...
details: https://anonhg.NetBSD.org/src/rev/266c0ddea3b2
branches: netbsd-1-4
changeset: 470107:266c0ddea3b2
user: he <he%NetBSD.org@localhost>
date: Thu Jan 20 21:24:21 2000 +0000
description:
Pull up revision 1.64 (requested by danw):
Add (the beginnings of) an unaligned access handler for the
powerpc, to get around the fact that gcc currently generates bad
floating point copies sometimes, which breaks various things,
diffstat:
sys/arch/macppc/macppc/machdep.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 22bdd3ce2636 -r 266c0ddea3b2 sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c Thu Jan 20 21:23:57 2000 +0000
+++ b/sys/arch/macppc/macppc/machdep.c Thu Jan 20 21:24:21 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.38.2.5 2000/01/15 17:04:53 he Exp $ */
+/* $NetBSD: machdep.c,v 1.38.2.6 2000/01/20 21:24:21 he Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -155,6 +155,7 @@
char *args;
{
extern trapcode, trapsize;
+ extern alitrap, alisize;
extern dsitrap, dsisize;
extern isitrap, isisize;
extern decrint, decrsize;
@@ -253,6 +254,9 @@
* This one is (potentially) installed during autoconf
*/
break;
+ case EXC_ALI:
+ bcopy(&alitrap, (void *)EXC_ALI, (size_t)&alisize);
+ break;
case EXC_DSI:
bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize);
break;
Home |
Main Index |
Thread Index |
Old Index