Commit Graph

24 Commits

Author SHA1 Message Date
chs
a95226826d switch sun3 to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-02-22 07:11:08 +00:00
tsutsui
8ae17a2c61 Use macro in <m68k/m68k.h> for cputype and mmutype. 2001-02-03 12:59:48 +00:00
mrg
9c11d316b4 remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 07:18:57 +00:00
jonathan
466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
gwr
0050a1b95b Sync with the sun3 version. 1998-06-12 20:07:50 +00:00
gwr
eff2e270bd Merge arch/sun3x into arch/sun3 1998-02-05 04:56:24 +00:00
gwr
0ec1cda62f Move the call to cninit() up a level (easier to find). 1997-10-04 19:46:17 +00:00
veego
6dbfc7764b s/_round_page/m68k_round_page/ 1997-06-10 19:37:58 +00:00
gwr
b209530013 Remove call to leds_init (it is already in obio_init). 1997-05-14 16:13:31 +00:00
jeremy
3d8d0c485c Add call to leds_init() after everything has started up ok. 1997-05-11 06:15:09 +00:00
gwr
8f9276c727 Move the _verify_hardware() work into machdep.c:identifycpu().
Call obio_init() after _vm_init() so we can use peek_byte() to
probe the idprom.  Be quiet in _save_symtab() when all is well.
1997-04-25 18:29:58 +00:00
gwr
7c0bd080c9 No longer force boothowto=RB_SINGLE|RB_KDB
(Yes, it goes multi-user just fine! 8^)
1997-03-24 17:57:12 +00:00
gwr
ee531cb3c9 s/sun3x_/_/ in sun3x_(round|trunc)_(page|seg) macros 1997-03-13 17:40:33 +00:00
gwr
e61bb6f903 Define "cold" over in autoconf.c 1997-02-18 15:30:01 +00:00
gwr
bb7dc881a3 Force RB_SINGLE for now (in addition to RB_KDB). 1997-02-12 16:04:33 +00:00
gwr
7bd7620f61 Sync with sun3. 1997-02-11 00:56:08 +00:00
thorpej
95e30218f2 Declare and set cputype and mmutype. 1997-02-02 08:36:39 +00:00
gwr
0352f52a7a Kill sunmon.h; add sun "code names" (Hydra, Pegasus). 1997-01-27 22:22:51 +00:00
gwr
b805b73cbe Use sunmon_abort() instead of mon_panic(). 1997-01-25 21:47:44 +00:00
gwr
8b175f2050 Move a bunch of stuff to sun3/sunmon.c where we can share it. 1997-01-23 22:27:29 +00:00
gwr
89778a556e Do loadcrp(&mon_crp) only when returning permanently to the monitor. 1997-01-18 16:17:33 +00:00
gwr
aaf91fd6aa Adapt to rename of pcb_mmuctx to pcb_mmucrp, and corrected
prototype of loadcrp(), which kills some bogus type casts.
1997-01-17 16:27:17 +00:00
gwr
07a2670421 Before dropping into the PROM monitor, restore its CPU Root Pointer (CRP),
and restore our own CRP if we resume.  Make sure the string passed to
mon_reboot() is in our data segment where the PROM can see it.
1997-01-16 21:53:07 +00:00
gwr
cd05f4190d Initial import. Gets as far as nfs_mountroot. 1997-01-14 20:57:07 +00:00