Commit Graph

7220 Commits

Author SHA1 Message Date
leo 8996e3866b - Move softint definitions to mtpr.h
- Add flags for TT/Falcon model for machineid, we definitely need them
1995-04-30 11:56:22 +00:00
cgd 4d059559f7 resurrect, and move files.pmax.newconf to new location. 1995-04-30 10:11:00 +00:00
cgd 14b1452a90 kill unnecessary blank line at end of file 1995-04-30 07:03:13 +00:00
cgd b835913465 first arg to open() is a 'const char *'. pointed out by David Brownlee
in pr 1004.
1995-04-30 03:57:54 +00:00
cgd 9b7c37148b new-config files list. missed this yesterday. 1995-04-30 02:44:44 +00:00
jonathan fb9f07db36 Update MIPS stack backtrace code to trace through locore functions,
traps, and interrupts  The earlier (4.4bsd) code didn't do the first two, and
got the last one wrong.  Also print some functions (e.g., trap handlers)
by name.  Add hook to use something other than printf() as the output
function, e.g,. for kernel debugging.
Tested with the `native' toolset, but not ELF format kernels.
(i.e., unwinding the $GP register is not tested.)

The stack backtrace code that interprets and unwinds stackframes is still
opaque and stylistically awkward.
1995-04-29 21:10:31 +00:00
briggs 59b4da2b39 Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
cgd 7cc5a0ed42 make FLT_ROUNDS call __flt_rounds, so dynamic rounding mode is grabbed. 1995-04-29 05:45:44 +00:00
cgd c075955b09 kill historical cruft 1995-04-29 01:56:59 +00:00
cgd 18d9d7e5ef first cut of the alpha version. 1995-04-29 01:09:17 +00:00
jonathan f54398dae4 Add prototype (new-style) config for pmax. This doesn't yet work;
auto-configuration initialization code is missing. It uses "needs-count"
flags to come slightly close to what the old-style pmax source expects.
Perhaps autoconfig code can be lifted from the alpha port or volunteers
found to write some.
1995-04-28 23:34:39 +00:00
jonathan b2c7420e5a Fix performance bug in pmax MachFlushDCache(). Old code disabled icache
and wasn't unrolled. This code runs cached and unrolled, giving an order
of magnitude improvement in some cases (e.g., DMA-capable network devices).
In use at Stanford DSG since late January 1995.
1995-04-28 23:17:51 +00:00
christos 0cd2332f66 sigcode is svr4_sigcode 1995-04-28 23:11:37 +00:00
jonathan 026a077a5d Check in source code actually containing changes in previous log message--
fixes to turbochannel-based DECstation interrupt enabling.
(I hate network firewalls that break rsh and remote CVS.)
1995-04-28 22:50:29 +00:00
jtc ac3b1189c1 ns32k specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.). 1995-04-28 22:01:25 +00:00
jtc 7fea99983f Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
current rounding mode is accurately reported.
1995-04-28 21:58:57 +00:00
jonathan 523e8bccbc Fix hardware interrupt-mask setup in the 5k/240 (3max)+ interrupt handler.
(A similar fix needs to be applied to the 3min and xine handlers.
This fixes a long-standing problem when booting with a card that
wants to interrupt (e.g., a network interface) would have interrupts
enabled before a handler was set up.

Add interrupt-counting code to model-independent interrupt handler,
and 3max (5k/200) and 3max+ (5k/240) md handlers, for vmstat -i.
Similar changes for 3min and xine are obvious but not done.

Add  code for 5k/240 to read, and latch, the current value of the
IOASIC bus-cycle counter at each timer interrupt.  The latched
counter is needed to accurately interpolate the bus-cycle counter value
as a high-resolution clock.
1995-04-28 21:48:11 +00:00
leo 9dde470095 - Remove cpuspeed
- Remove dead code  (stmem_steal())
- Use round_page() on st_pool_size before using. This prevents crashes
  when it is 'binpatched' with a value that is not a multiple of the
  page size.
1995-04-28 11:41:53 +00:00
leo d3056f9136 CD-ROM drives added. 1995-04-28 11:36:33 +00:00
leo cd29a7f291 Better way to select a display mode? 1995-04-28 11:34:33 +00:00
leo d3bb44e8f2 Made no_ttram_dma patchable instead of a define. 1995-04-28 11:33:01 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
jonathan 07992ead4b Add memory-mapped address of the IO ASIC TurboChannel bus-cycle counter,
as present on 5k/2xx and Alpha IOASICs. Older machines may or may not
have the hardware counter. To be used as a high-resolution DECstation clock.
1995-04-28 04:44:21 +00:00
jonathan ef8023a47b Check in changes suggested by Ralph Campbell: update variable names
to use turbochannel slot numbers, add a couple of extra slots, just
in case.
1995-04-28 03:10:41 +00:00
hpeyerl c9319ad5c4 <break> --> ddb if defined(comconsole).
(if you have a serial console and you hit break, you get ddb).
1995-04-28 00:34:08 +00:00
mellon 59f33bea48 Add sfb device driver 1995-04-27 20:52:39 +00:00
leo ecec677e0c Removed cpuspeed 1995-04-27 20:34:13 +00:00
mycroft a9313f09e4 Speed up handling of short and/or misaligned mbufs significantly. No change
in the `normal' cases.
1995-04-27 17:18:22 +00:00
hpeyerl 686da9ddb7 copyright foo. 1995-04-27 14:50:58 +00:00
pk 1138c9d047 Handle KIOC[GS]LED ioctls; from Lon Willett. 1995-04-27 14:27:11 +00:00
christos 9cc011e7a1 Use new files.sunos and old files.svr4 :-) 1995-04-27 12:16:31 +00:00
christos 843a2a3539 Use new files.sunos 1995-04-27 12:08:54 +00:00
christos b9771ef7b1 Try to make the reboot system call compile under sun3 with RB_STRING
support [not tested]
Add files.sunos
Rename system call switch table file from sunos_init_sysent.c to sunos_sysent.c
like other emulations.
1995-04-27 12:05:37 +00:00
phil b9c4f23337 needs-count => needs-flag 1995-04-27 07:26:08 +00:00
phil 042a0e2c63 remove warnings in pmap.c 1995-04-27 07:19:09 +00:00
phil 83e651c4c4 scntty & reorg using softc stuff. 1995-04-27 07:18:02 +00:00
phil a186461a00 conf.c: ptstty ...
machdep.c: setregs parameter type change, remove warnings
process_machdep.c, pmap.c : remove warnings
1995-04-27 07:16:31 +00:00
mycroft 6bb0f284d0 Turn off some debugging code by default. 1995-04-27 01:46:47 +00:00
gwr 63fcfd3c89 Disable the cache stuff for now. Add more comments. 1995-04-26 23:42:35 +00:00
gwr a72c4b5e5d SUNOS_SYS_sigreturn -> SUNOS_SYS_sunos_sigreturn
Also, add check for trap during panic.
1995-04-26 23:39:04 +00:00
gwr c75b9fd69a Avoid null reference with unsupported configurations. 1995-04-26 23:30:08 +00:00
gwr 8ba352c1a9 Use vfs_shutdown() 1995-04-26 23:25:26 +00:00
gwr cc9cf5119d pt_tty -> ptytty 1995-04-26 23:24:13 +00:00
gwr db42cb9416 Some corrections for cache control. Still needs work... 1995-04-26 23:23:20 +00:00
gwr ac1a62db29 Add xxtty() 1995-04-26 23:20:15 +00:00
gwr 6d7bcdbd2a Add work-around for LANCE Rev. C bug.
Needs to be fixed for multicasts...
1995-04-26 23:19:16 +00:00
gwr f4d7b9097d Make sunos_reboot(RB_STRING,"...") work for sun3.
Could be made to work for sparc too.
1995-04-26 23:12:02 +00:00
brezak 1f4378da60 Fix nits from Mike Long <mike.long@analog.com> PR#996 1995-04-26 21:45:57 +00:00
pk d4f78febcf define LED controls 1995-04-26 14:24:54 +00:00
pk a1175c74a0 Fast checksummer from Matthew Green. 1995-04-26 13:30:03 +00:00
mycroft 7dbfb9ead9 Macroize a few more things; suggested by Matt Green. Cast pointers to long,
not int.  No functional differences.
1995-04-26 09:40:36 +00:00
mycroft 4c3aafc732 Fix typo in previous changes. 1995-04-26 00:00:23 +00:00
christos 7a2ec6be4b Make this compile again... 1995-04-25 21:57:10 +00:00
mellon 43da4827ae sigcode and esigcode aren't defined for ultrix emulation 1995-04-25 21:51:15 +00:00
christos 2ca157b084 Make this compile again; from Ted Lemon 1995-04-25 21:10:01 +00:00
pk eb8a2e27a0 New audio driver. 1995-04-25 20:08:13 +00:00
pk 794f74a0cf Audio driver name change. 1995-04-25 20:07:10 +00:00
pk 8d90aefeb0 New audio driver from Rolf Grossmann. 1995-04-25 20:05:32 +00:00
pk e9177420ca NetBSD RCSid 1995-04-25 20:01:23 +00:00
pk 6d68e2f26f Remove duplication of code from subr_autoconf.c 1995-04-25 19:59:49 +00:00
mellon 1992309f8b Fix a few compat code casualties 1995-04-25 19:16:43 +00:00
cgd 7c7142b1cf status report 1995-04-25 18:59:14 +00:00
cgd 4061570286 Add 'users to-do list' 1995-04-25 18:16:15 +00:00
pk 700118da76 Stop-gap measure to prevent panic when select()ing on /dev/console. 1995-04-25 17:52:43 +00:00
pk 64f2d35a0f Do not report each pseudo-DMA overrun as a (soft) error.
Add a small heuristic to converge on an acceptable threshold value.
1995-04-25 14:44:44 +00:00
ragge 589f248bad Cleanup and fixes for uVAX boot. 1995-04-25 14:14:19 +00:00
mellon 3eca8117f7 Fix up args to scdebug_{call,ret} 1995-04-25 05:30:14 +00:00
gwr d73db495da Fixed RPC code to deal with RPC messages larger than one mbuf. 1995-04-24 21:54:56 +00:00
gwr e49b0de53f short -> int (alignment) 1995-04-24 21:34:04 +00:00
pk 6404739df8 AMD9730 telephony chip (used to be sparc/dev/bsd_audioreg.h). 1995-04-24 19:17:17 +00:00
pk 30f71c550f A couple of fixes frm Rolf Grossmann. 1995-04-24 19:13:52 +00:00
cgd fab3d7b117 kill a bogus NOTREACHED, fix spacing 1995-04-24 06:24:19 +00:00
chopps df9af2897a bring up-to-date with recent conf.c and sunos changes. 1995-04-23 18:24:21 +00:00
chopps 10eb24c459 add needed signal debug stuff so it will compile with DEBUG 1995-04-23 18:22:14 +00:00
chopps 35bb9b1ffd new grfcl driver submitted by Ezra Story <ezy@panix.com> 1995-04-23 16:20:43 +00:00
briggs c937b8a519 Fix compiler error in sunos_reboot(). 1995-04-23 01:00:46 +00:00
briggs a2bc99d6f1 Make these compile again. 1995-04-23 00:37:23 +00:00
briggs 11632db942 Make this actually compile... 1995-04-23 00:27:48 +00:00
christos 79e736e176 syscalls.master was changed 1995-04-22 23:48:37 +00:00
christos ebdad87ea2 Added sunos_reboot(). 1995-04-22 23:45:29 +00:00
christos 00e1cff41a Shared sunos_machdep.c 1995-04-22 23:43:07 +00:00
christos 5f162d51b1 Moved sunos_machdep.c to m68k 1995-04-22 23:41:32 +00:00
christos 545f388282 Removed sunos_machdep.c 1995-04-22 23:40:24 +00:00
christos 94289bf2b0 Move sunos_machdep.c to m68k 1995-04-22 23:39:02 +00:00
christos 4bca9bf670 Remove sunos_machdep.c 1995-04-22 23:38:27 +00:00
christos 1d807c1a1d move sunos_compat.c to m68k 1995-04-22 23:36:56 +00:00
christos ac9454c2e1 remove sunos_machdep.c 1995-04-22 23:36:10 +00:00
christos 6cdccaf3ed Remove sunos_machdep.c and fix sunos_reboot. 1995-04-22 23:23:58 +00:00
leo 03df025c9d Change allocation algorithm to best-fit, fix bug in free_stmem. 1995-04-22 22:23:38 +00:00
leo 8e56abf0fa Define DELAY to call delay() 1995-04-22 22:20:36 +00:00
leo 3517d2e5ac - Prefix 'dma-defines' with DMA_
- Add function prototypes
1995-04-22 22:18:57 +00:00
leo dcdee517ef - Remove register access functions from dma.c -> fd.c and inline them
- Add write protect checking (mistereously disapeared during port)
- Make fdclose() return a sensible value
- Prefix 'dma-defines' with DMA_
1995-04-22 22:18:17 +00:00
leo e8312d3ac3 Adapt for new conf.h:
- Add xxxtty() functions
	- Remove xxx_tty array
1995-04-22 22:06:43 +00:00
leo c9a522cd2b Adapt for new conf.h. 1995-04-22 22:05:17 +00:00
christos 4bf1b61d8f Convert sun_ to sunos_ and fix sunos_sigreturn() bugs. 1995-04-22 21:23:18 +00:00
christos c5f01c2a4c Fixed comparison in SYS__syscall to be against sysent instead of
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
christos 44eef7c28b - added struct emul to all emulations.
- removed all setup functions.
- added copyargs() functions where needed.
1995-04-22 19:48:19 +00:00
christos 2a83f6028f makesyscalls.sh was changed. 1995-04-22 19:44:38 +00:00
christos 1c1cf96baf makesyscalls.sh was changed 1995-04-22 19:43:50 +00:00