Move the PB140/145 info to it's own case. A couple of the entry points
authorbriggs <briggs@openbsd.org>
Sat, 5 Apr 1997 16:19:29 +0000 (16:19 +0000)
committerbriggs <briggs@openbsd.org>
Sat, 5 Apr 1997 16:19:29 +0000 (16:19 +0000)
are different from other cases.

sys/arch/mac68k/mac68k/macrom.c

index e94cd91..b5b2feb 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: macrom.c,v 1.12 1997/04/05 15:29:12 briggs Exp $      */
+/*     $OpenBSD: macrom.c,v 1.13 1997/04/05 16:19:29 briggs Exp $      */
 /*     $NetBSD: macrom.c,v 1.31 1997/03/01 17:20:34 scottr Exp $       */
 
 /*-
@@ -1272,8 +1272,6 @@ mrg_fixupROMBase(obase, nbase)
        if (    (current_mac_model->class == MACH_CLASSPB)
           ||   (current_mac_model->class == MACH_CLASSDUO)) {
                switch( mac68k_machine.machineid ) {
-               case MACH_MACPB140:
-               case MACH_MACPB145:
                case MACH_MACPB170:
                        mrg_InitPM =    /* PMgrInit */
                                (caddr_t)0x40888400 - oldbase + newbase;
@@ -1293,6 +1291,20 @@ mrg_fixupROMBase(obase, nbase)
                        mrg_OStraps[0x9f] =     /* PMgrDispatch */
                                (caddr_t)0x408888d8 - oldbase + newbase;
                        break;
+               case MACH_MACPB140:
+               case MACH_MACPB145:
+                       mrg_InitPM =    /* PMgrInit (symbol undef.) */
+                               (caddr_t)0x40888400 - oldbase + newbase;
+                       jCacheFlush = (caddr_t)0x40809a7c - oldbase + newbase;
+                       mrg_OStraps[0x33] =     /* VInstall */
+                               (caddr_t)0x4080a230 - oldbase + newbase;
+                       mrg_OStraps[0x55] =     /* _VM */
+                               (caddr_t)0x40805538 - oldbase + newbase;
+                       mrg_OStraps[0x5e] =     /* NMInstall */
+                               (caddr_t)0x4081d720 - oldbase + newbase;
+                       mrg_OStraps[0x5f] =     /* NMRemove */
+                               (caddr_t)0x4081d730 - oldbase + newbase;
+                       break;
                case MACH_MACPB160:
                case MACH_MACPB165:
                case MACH_MACPB165C: