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



details:   https://anonhg.NetBSD.org/src/rev/d4bcb073b4ba
branches:  netbsd-1-4
changeset: 470105:d4bcb073b4ba
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 20 21:22:51 2000 +0000

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

diffs (27 lines):

diff -r 8cc3f9678472 -r d4bcb073b4ba sys/arch/bebox/bebox/machdep.c
--- a/sys/arch/bebox/bebox/machdep.c    Thu Jan 20 21:22:24 2000 +0000
+++ b/sys/arch/bebox/bebox/machdep.c    Thu Jan 20 21:22:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.33.2.1 1999/04/16 16:16:36 chs Exp $     */
+/*     $NetBSD: machdep.c,v 1.33.2.2 2000/01/20 21:22:51 he Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -148,6 +148,7 @@
        void *btinfo;
 {
        extern trapcode, trapsize;
+       extern alitrap, alisize;
        extern dsitrap, dsisize;
        extern isitrap, isisize;
        extern decrint, decrsize;
@@ -285,6 +286,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