Commit Graph

10868 Commits

Author SHA1 Message Date
jeremy
4d949455d4 Fixed address for bwtwo framebuffer. 1997-03-21 07:28:36 +00:00
mycroft
1963665c7e Add IPL_AUDIO. 1997-03-21 04:34:18 +00:00
pk
cb8601ae21 In viking_pcache_flush(), use a "flash flush" during boot-strapping. 1997-03-21 01:49:03 +00:00
pk
28350d7d18 Set pcache_flush_line function pointer for correct cache configuration. 1997-03-21 01:47:15 +00:00
pk
31f3ff5346 Store cache associativities in the `cacheinfo' structure, and use it
in computing the cache "alias distance" and in the viking cache line
flush function.
1997-03-21 01:32:15 +00:00
cgd
a823d31f7e fix check for bus number when root dev is behind PPB 1997-03-21 01:26:08 +00:00
cgd
26c8aefcc3 clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
out since they're not currently supported, but the options are 'known').
Add 'se' Cabletron SCSI Ethernet driver.
1997-03-21 01:12:40 +00:00
cgd
f0833f24f4 clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
out since they're not currently supported, but the options are 'known').
1997-03-21 01:12:21 +00:00
cgd
2d3755c5ba files file entry for eb64+ 1997-03-21 01:09:02 +00:00
pk
d79f5b1733 Add declaration. 1997-03-20 23:57:30 +00:00
pk
5704efd375 Replace many setpte4m() calls with a simpler helper function because
the address of the desired PTE location is readily available in the
callers context (setpte4m() retraces the entire 3-level structure
to arrive at the PTE location).

Also, in many cases we can do away with the distinction between pmaps
that have or have not allocated a context. This is really only useful
in cases where we're interested in the REF or MOD bits which can differ
in the TLB version of a PTE.  By doing this, we avoid getpte()'s which
in many cases instruct the MMU to start a table walk only to find out
that there's nothing there after going 2/3 of the way, or waste a TLB
entry because of TLB flushing soon after getpte() completes.

In addition, there's a hook to flush the cache line corresponding to
the (kernel virtual) location of a PTE entry when it gets altered.
1997-03-20 23:48:37 +00:00
pk
6cea599cbf Add hook for flushing a single cache line. 1997-03-20 23:26:23 +00:00
pk
63c1c6ab1c Remove a bunch of no-ops. 1997-03-20 21:44:21 +00:00
jeremy
4882df57ff Change location of if_ether.h to net/ from netinet/. 1997-03-20 21:21:00 +00:00
pk
5718c246fd Define various no-op functions. 1997-03-20 21:16:20 +00:00
pk
7cf0d72881 Add a `no-op' function that the compiler can not touch. 1997-03-20 21:10:31 +00:00
scottr
1c9987dab4 Several minor changes:
- Indent some comments appropriately per KNF.
 - Output all diagnostics using the device name rather than a static string.
 - Fix a (mostly marmless) bug in snintr(), where loss of heartbeat wasn't
   properly ignored and could mask the `receive descriptors exhausted'
   diagnostic.
1997-03-20 17:47:51 +00:00
mycroft
7a55cafeeb Implement set_format. 1997-03-20 16:51:38 +00:00
gwr
a4b8e33b2b This needs muli-include protection now. 1997-03-20 16:21:10 +00:00
is
6c55a345c6 Make this compile with NetBSD-1.2D (if_ether.h location changed). 1997-03-20 16:15:15 +00:00
is
5df51f68f4 Make this compile with 1.2D (if_ether.h location changed) 1997-03-20 16:14:22 +00:00
gwr
c3f299a527 Now using dev/ic/ncr53c9x.c 1997-03-20 16:01:36 +00:00
gwr
c921c9b954 This needs muli-include protection now. 1997-03-20 15:56:44 +00:00
matthias
0f3c811db6 * Remove the unused variable fsr in ieee_invop. 1997-03-20 12:04:08 +00:00
matthias
a366400675 * clock and rtc are real devices now. 1997-03-20 12:03:27 +00:00
matthias
5efc40089c * Add new file arch/pc532/pc532/mainbus.c.
* Remove arch/pc532/pc532/icuinit.c.
* clock and rtc are real devices now.
* Change all uses of needs-count to needs-flag.
1997-03-20 12:03:24 +00:00
matthias
c44822f0e3 * Add "-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format"
to CWARNFLAGS.
1997-03-20 12:03:23 +00:00
matthias
ed42b2c9d3 * Remove uk driver, add se driver. 1997-03-20 12:03:20 +00:00
matthias
b49a214439 * Don't reference NSCN.
* Use machine/conf.h not sys/conf.h to get the prototypes for the
  scn cdev functions.
* Include <sys/kgdb.h> to get prototypes for kgdb_connect and kgdb_attach.
* Add missing prototypes for some functions.
* Make ddb work before the console was opend. Thank's to Ian Dall
  for this change. His comment:
	Also, ddb doesn't work if a break is set before the console
	is opened. That is because DTR and RTS are not asserted. It
	would probably work if the console is wired to ingnore DTR
	or RTS. The change below is probably not very correct.
	Proabably the state of DTR and RTS should be saved and DTR
	and RTS asserted on the start of a polled serial input and
	the saved values restored on exiting polled input
* Remove unused function scn_ei.
1997-03-20 12:03:03 +00:00
matthias
80502accfe * Remove unused ncr_minphys prototype.
* Add prototype for ncr_ready.
* Add ncr_wait_not_req function from Ian Dall:
	The ncr_wait_not_req business is to avoid a potential race.
	When the pseudo DMA finishes, the target may not have
	lowered REQ yet. If we just charge ahead, we eventually test
	for phase when REQ is high. However, if REQ has not yet gone
	low for the last byte transferred, this will be the wrong
	phase. This is taken from the dp8490 application notes. The
	last ACK is not deasserted until the dma is completed.
	Deasserting the last ACK should be delayed until the last
	REQ is deasserted. I am not sure if there are ever devices
	this slow, but I believe the code is "more correct".
1997-03-20 12:03:01 +00:00
matthias
dd38be40dc * Add prototypes for pmap_pte, pmap_testbit and pmap_changebit.
* Remove PTDpaddr. This is no longer in use.
1997-03-20 12:02:42 +00:00
matthias
5bb951d4d4 * Remove IEDGE and IPLOARITY. These constants are no longer in use. 1997-03-20 12:02:40 +00:00
matthias
1e27bb59c8 * Add prototypes for kdb_trap and db_dasm_ns32k. 1997-03-20 12:02:37 +00:00
matthias
8462078c2a * Add prototypes for ieee_handle_exception, ram_size, restore_fpu_context
and save_fpu_context.
* Remove prototypes for cpu_reset (it is local to machdep.c) and
  startrtclock (it does no longer exist).
1997-03-20 12:02:36 +00:00
matthias
98eb9b47ea * New file. This contains the definitions used to fill the cdev and
bdev switches for devices unique to the pc532.
1997-03-20 12:02:34 +00:00
matthias
bcdbce6d4f * Initialize the interrupt controller part of the ICU in intr_init.
* Move softnet and the establishing of the softclock and softnet
  interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:02:00 +00:00
matthias
8a6b052853 * New file that contains the match/attach/print function for the mainbus
device.
* Some generic ICU initialization is now done in mbattach.
1997-03-20 12:01:23 +00:00
matthias
715cb6f3df * Include sys/ptrace.h to get prototypes for process_read_regs and
process_read_fpregs.
* Remove extern definitions for proc_trampoline and pmap_pte. We
  get prototypes for these from some headerfiles.
1997-03-20 12:01:03 +00:00
matthias
6a7e85766c * Include sys/kgdb.h to get prototypes for kgdb_trap.
* Fix some printf format strings.
1997-03-20 12:00:59 +00:00
matthias
0f39516c71 * Remove unused local variable in sys_sysarch. 1997-03-20 12:00:58 +00:00
matthias
a9e83c741a * Include sys/proc.h, sys/fcntl.h and machine/conf.h to get some missing
prototypes.
* Get rid of RTC_DEV. All rtc support now lives in clock.c.
1997-03-20 12:00:56 +00:00
matthias
2608cc4aff * Remove stale rcsid string.
* Add missing prototypes.
* Move over softnet() from intr.c.
* Establish softnet and softclock interrupts in init532.
* Misc cleanup to get it compiled with the new CWARNFLAGS.
1997-03-20 12:00:54 +00:00
matthias
62d993de87 * Remove trailing newline. 1997-03-20 12:00:51 +00:00
matthias
5e6e424a62 * Initialize the interrupt controller part of the ICU in intr_init.
* Move softnet and the establishing of the softclock and softnet
  interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:00:50 +00:00
matthias
5e1cac29c9 * Include sys/systm.h and netinet/in.h to get missing prototypes. 1997-03-20 12:00:47 +00:00
matthias
855084814b * Include <sys/disk.h> to get prototypes for dk_establish.
* Fix definition of strat arg for {read,write}disklabel.
1997-03-20 12:00:46 +00:00
matthias
bd1c07266e * add missing prototypes.
* Fix some printf format strings.
* Remove unused Debugger() definition.
1997-03-20 12:00:43 +00:00
matthias
79e491a855 * Add missing prototypes and casts.
* Fix a printf format string.
1997-03-20 12:00:42 +00:00
matthias
0b6fa5346b * Add missing prototypes. 1997-03-20 12:00:40 +00:00
matthias
966187a7e0 * Add missing prototypes.
* Reconstruct a piece of text that got lost in the past.
* Make the output for undefined instructions more consistent.
1997-03-20 12:00:37 +00:00