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/ofppc/ofppc Pull up revision 1.50 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/88f7c7799b64
branches:  netbsd-1-4
changeset: 470109:88f7c7799b64
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 20 21:27:14 2000 +0000

description:
Pull up revision 1.50 (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/ofppc/ofppc/machdep.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 51886a159e4b -r 88f7c7799b64 sys/arch/ofppc/ofppc/machdep.c
--- a/sys/arch/ofppc/ofppc/machdep.c    Thu Jan 20 21:26:15 2000 +0000
+++ b/sys/arch/ofppc/ofppc/machdep.c    Thu Jan 20 21:27:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.35.2.1 1999/04/16 16:21:48 chs Exp $     */
+/*     $NetBSD: machdep.c,v 1.35.2.2 2000/01/20 21:27:14 he Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -125,6 +125,7 @@
        char name[32];
        struct machvec *mp;
        extern trapcode, trapsize;
+       extern alitrap, alisize;
        extern dsitrap, dsisize;
        extern isitrap, isisize;
        extern decrint, decrsize;
@@ -204,6 +205,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