summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-05 16:19:30 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-05 16:19:30 +0000
commiteea79c5f8000107c76ee03c89ed95fc3b733e996 (patch)
tree625371bd120811cc1add2b3e3c6db29e50adb25e /sys/arch
parent81640a3269a5061e59e8fbceb20da2e792f992ae (diff)
Move the PB140/145 info to it's own case. A couple of the entry points
are different from other cases.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/mac68k/macrom.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/sys/arch/mac68k/mac68k/macrom.c b/sys/arch/mac68k/mac68k/macrom.c
index e94cd912cdd..b5b2feba4ee 100644
--- a/sys/arch/mac68k/mac68k/macrom.c
+++ b/sys/arch/mac68k/mac68k/macrom.c
@@ -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: