From c921c0c1cdeae2528f92c7dba4e929962a8589a2 Mon Sep 17 00:00:00 2001 From: briggs Date: Sat, 5 Apr 1997 16:19:29 +0000 Subject: [PATCH] Move the PB140/145 info to it's own case. A couple of the entry points are different from other cases. --- sys/arch/mac68k/mac68k/macrom.c | 18 +++++++++++++++--- 1 file 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: -- 2.20.1