Commit Graph

23473 Commits

Author SHA1 Message Date
eeh 57d2ec0b98 Overhaul cache flush code and coredump code. 2000-08-01 00:40:15 +00:00
eeh 568dca001c Cleanup trapstate handling and garbage collect old stuff. 2000-08-01 00:36:05 +00:00
eeh e5a87444c7 Cleanup trapframe and TSTATE handling. 2000-08-01 00:34:13 +00:00
eeh 6f9bfddd60 Add UVM_PAGEIDLE_ZERO. 2000-08-01 00:31:15 +00:00
eeh cacbbd1117 Garbage collection. 2000-08-01 00:28:55 +00:00
eeh d09c8ea0f1 Revamp cache flush routines. 2000-08-01 00:28:02 +00:00
eeh 07fc19421d Pull in <machine/frame.h> to define BIAS and CC64FSZ. 2000-08-01 00:25:02 +00:00
eeh aeb88321db Call the parent bus dvmamap_unload function to clear the cache rather
than do it ourselves.
2000-08-01 00:22:41 +00:00
minoura 3094e3b89d include <sys/types.h> to define u_int. 2000-07-31 23:40:02 +00:00
briggs 3f1e17a340 Define bus_space_*_stream_N functions as their non-stream counterparts. 2000-07-31 22:43:46 +00:00
briggs 3ce3697584 Add bus_space_*_stream_N functions. 2000-07-31 22:40:25 +00:00
briggs bd823b939e Fix code to read a string from the nubus board--it was not terminating
the string properly when the string on the board is longer than the
pre-allocated space.
2000-07-31 22:39:17 +00:00
eeh ede765839e Look for fpu files in the sparc subdirectory where they now reside. 2000-07-31 22:17:05 +00:00
msaitoh 9c331f1f89 use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file 2000-07-31 20:57:45 +00:00
briggs 2cc07c0541 Add a DIAGNOSTIC panic if (count-using) bus_space macros are called with
a count of zero.  Some drivers do this accidentally and some bus_space
implementations will fail if count is passed as zero (they are set up in
a do-{}-while structure).
2000-07-31 14:59:15 +00:00
mrg 978acd5367 sync with GENERIC32; enable rnd 2000-07-31 13:21:45 +00:00
mrg ec14782383 hardcode onboard "hme" to "hme0" 2000-07-31 13:16:24 +00:00
mrg b5ce82b4a0 define BDPRINTF in the !DEBUG case to nothing. PR#10688. 2000-07-31 05:40:22 +00:00
briggs 3717acff97 We may wish to install from an SMC-based ethernet, too. 2000-07-31 02:06:48 +00:00
briggs f5882c7ffa Make sure that bus_space read/write functions that take a count will not be
called if count is zero.  The smc91cxx driver, for example, may try to call
bus_space_write_multi_2() with a count of 0.
2000-07-30 23:17:23 +00:00
briggs 2f76646af1 Some uncommitted poking around. No functional change. 2000-07-30 21:48:54 +00:00
briggs 1e909ae3ca Add SMC-based ethernet and nsphy (AsanteFAST) and ukphy (just in case). 2000-07-30 21:46:39 +00:00
briggs e74ae8ee59 M.d. glue for nubus SMC 91cxx-based cards--including Focus Interlan and
AsanteFAST.
2000-07-30 21:43:40 +00:00
briggs fb9995989b Make bus_space_write_region_2 usage match prototype. 2000-07-30 21:41:59 +00:00
briggs d13747524c Fixup for bogus assumptions about bus_space_handle_t. 2000-07-30 21:40:49 +00:00
briggs c131e0d1b7 Remove unsupported Focus hardware--this is now probed in if_sm_nubus. 2000-07-30 21:40:09 +00:00
briggs 2bb296de77 Update hack to point to bus_space_handle base address. 2000-07-30 21:39:16 +00:00
briggs 9c85d4dc6a Add byte-swap and stride options to bus_space. Allocate as normal, then
call mac68k_bus_space_handle_swapped() or mac68k_bus_space_handle_set_stride().
Stride is untested.  Swapped code works for SMC ethernet.
2000-07-30 21:38:02 +00:00
briggs a3f6fd2274 Add nubus attachment for smc91cxx driver. 2000-07-30 21:36:04 +00:00
bjh21 77a537a1ba Use M_SOFTINTR for soft interrupt sructures 2000-07-30 16:39:18 +00:00
takemura 537da4726d Refresh screen when the system resume. 2000-07-30 11:16:54 +00:00
tsubai 5f1e746912 Remove duplicated entry 22 in chrtoblk table.
Pointed out by Greg Kritsch on port-macppc mailing list.
2000-07-30 07:17:27 +00:00
simonb 1483e8c25e Fix "suggest parentheses around assignment ..." warning in normally
unused code segment.
2000-07-30 06:11:38 +00:00
takemura b5e3ec56a8 Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.) 2000-07-30 04:41:15 +00:00
takemura bb1a798cbe Move from sys/dev/apm. And rename apm -> apmdev. 2000-07-30 04:29:22 +00:00
thorpej d760e0b407 Add code to read the EISA configuration NVRAM as set up by
an EISA Configuration Utility.  Code to access this data
is forthcoming.

XXX This could probably be made MI at some point.
2000-07-29 23:18:46 +00:00
jdolecek e25636b5da g/c RB_DFLTROOT
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
tsubai 25e447156e Fix printf format string. (recently SECDAY changed from unsigned long to int) 2000-07-29 11:11:53 +00:00
tsubai f23a2f015d Set hostid. 2000-07-29 08:21:43 +00:00
scw 44c9e5e16e Really make this work for `dependall'. Also strip bootst.bug before
running it through wrtvid.
2000-07-28 20:08:20 +00:00
eeh fe3f6176b4 Make 64-bit stack traces look prettier. 2000-07-28 19:10:33 +00:00
eeh 652a74ef51 Don't dump if there's no address space reserved for it. 2000-07-28 19:08:25 +00:00
tv 0505a9e28a Eliminate the other %:, using vsnprintf followed by printf. 2000-07-28 15:40:24 +00:00
minoura 85ae8ebac7 Prototype netintr(). 2000-07-28 14:58:01 +00:00
tv ce9fd05593 Avoid a nonstandard %: format: printf("%:", fmt, ap) -> vprintf(fmt, ap) 2000-07-28 14:46:37 +00:00
bjh21 4d52022987 Comment tidying 2000-07-28 09:54:56 +00:00
bjh21 61edac627c Convert the arm26 rtc driver to use pk's new todr(9) interface internally.
Nothing outside the driver will notice until we get proper MI I^2C.
2000-07-27 23:51:43 +00:00
scw 379de37900 Make these work for the `dependall' target. 2000-07-27 21:06:53 +00:00
mason 4a353b5330 Moving to a default of 64 PTYs. 2000-07-27 17:53:35 +00:00
cgd b63ed164a1 convert PRID handling to use macros on an int, not bit-fields.
there's no reason to use bit-fields, and they just complexity to
the header.
2000-07-27 17:29:05 +00:00
scw 0d5db1f645 Bump DFLDSIZ to 32MB since 16MB is no longer enough for some
parts of `make build'.
2000-07-27 14:48:58 +00:00
mrg 256fc99a68 include the 32-bit kernel, not myself 2000-07-27 14:39:50 +00:00
mrg 8b5a1a1dea do the 32 bit / 64 bit name swap, as per GENERIC. 2000-07-27 14:38:45 +00:00
mrg cc41b6af8f remove COMPAT_AOUT option. 2000-07-27 14:34:06 +00:00
scw 8f4e16a29e G/C some obsolete HP-UX related flags, and prevent multiple
inclusion while I'm here.
2000-07-27 14:26:15 +00:00
scw 110b948408 G/C MDP_HPUXTRACE since it is never set anywhere, so we don't actually
support HP-UX processes doing the tracing.
2000-07-27 14:25:14 +00:00
mrg a254dae933 ebus sc_is is a pointer now, already. 2000-07-27 14:17:10 +00:00
mrg dea4c479f5 intr_list_handler() should only take one argument. it ignored the 2nd anyway. 2000-07-27 14:13:50 +00:00
mrg 556a915306 add commented LOCKDEBUG 2000-07-27 14:10:25 +00:00
mrg 2726e45533 fix warnings. 2000-07-27 13:59:26 +00:00
mrg 270fd5cc55 delete unused variable. 2000-07-27 13:58:54 +00:00
mrg eafc0ade2d fix warnings. 2000-07-27 13:57:23 +00:00
bjh21 926ed939b6 Fix grammatical error in panic msg 2000-07-27 10:12:31 +00:00
jeffs 3eae1609f1 Fix to actually compile MIPS1 only. 2000-07-27 08:28:36 +00:00
jeffs e4a0934c13 Do not attempt mips3 style cache flush on mips1 in setregs() as it
is illegal to flush on user addresses.  In theory the race exists
on MIPS1, but it is rather unlikely in common use.  I have
seen it with regress/sys/kern/sigtramp on a QED 5231 system.
2000-07-27 06:28:06 +00:00
cgd 4adc7b9704 add nops after jals in PANIC and PRINTF. (these macros are often used in
code which has noreorder set, and they're not used with nops afterwards,
as is appropriate in that case, so put the nops in the macros.)
2000-07-27 05:01:06 +00:00
matt 63466a9699 Un __P. 2000-07-26 21:50:48 +00:00
pk 2079f86890 On-board devices on psycho machines seem to have the `interrupt' property
in the parent bus format (i.e. an INO) rather than being represented as
an PCI interrupt line. Provide a hack to work around this in pci_attach_hook().
2000-07-26 17:46:56 +00:00
jeffs ca2a49c4cf Back-out vmapbuf() change for now as locally it has been found to sleep
in some circumstances that don't sleep when not using pmap_prefer().
2000-07-26 16:24:38 +00:00
ragge 1d79c50d61 Oops, forgot a debug return. 2000-07-26 15:16:55 +00:00
pk e668bc0310 Use the mk48txx driver for time-of-day clock access. 2000-07-26 13:39:36 +00:00
pk 785d8d91b9 Remove unused <sys/dev/ic/intersil7170.h>
Remove unused `extern struct idprom idprom'
Pull in <dev/clock_subr.h>
2000-07-26 12:39:20 +00:00
ragge 97c8ae87cd nmi files. 2000-07-26 12:37:14 +00:00
ragge f9374fe05f Add bi interrupt allocator. Should be somewhere else. 2000-07-26 11:55:55 +00:00
ragge e50ddafc0b Add badaddr() field. 2000-07-26 11:55:01 +00:00
ragge 550bb5fbb2 Make yeartonum/numtoyear visible. 2000-07-26 11:54:32 +00:00
ragge c034e1d483 VAX-specific bi support changes. 2000-07-26 11:53:30 +00:00
ragge 9c3b3ed9c6 Discover the KA88 cpu. 2000-07-26 11:50:51 +00:00
ragge 3a73106b1b KA88 console support. 2000-07-26 11:50:16 +00:00
ragge 0aeb2853f9 Support for a machine-specific badaddr handler. 2000-07-26 11:48:50 +00:00
ragge b38b1995fa Support for the KA88 CPU and the NMI backplane. 2000-07-26 11:47:15 +00:00
ragge 851da6dda0 Remove the use of global "mastercpu", the world is different now. 2000-07-26 11:44:25 +00:00
ad 001420d7ea Remove unneeded include. 2000-07-26 11:42:41 +00:00
pk 4a3cba7a65 Pull in <dev/clock_subr.h>. 2000-07-26 11:28:36 +00:00
briggs 5d162e9bcf Add Sigma Designs L-View and AsanteFAST product codes. 2000-07-26 04:36:16 +00:00
briggs 98cdbc4cc9 Remove advertising clause with my name. 2000-07-26 04:35:46 +00:00
mycroft 11142830f9 Switch back to newvers_stand.sh. Dunno why it bombed the first time. 2000-07-25 21:53:55 +00:00
pk f343e5777c Add `dma' to the `early device' list, since we need it before an `esp'
is configured. Traced and tested by Julian Coleman.
2000-07-25 21:50:03 +00:00
scw 2f335ce72b Nuke __BROKEN_DK_ESTABLISH, and add __HAVE_DEVICE_REGISTER. 2000-07-25 20:52:27 +00:00
mycroft 714a495a4a Duh, hp300 -> sparc64. 2000-07-25 20:48:19 +00:00
mycroft 234b20f27c Put back missing newvers.sh. 2000-07-25 20:47:44 +00:00
jeffs 71538e8894 Fix mips3 outofworld to panic cleanly even if shutdown path misses K2.
Previously we jal to panic which never cleared the tlb fault, so if
on the course of shutdown (like a doshutdownhooks() callback) missed
K2, it would panic again.  Fix by setting EPC to panic() and eret.
2000-07-25 18:06:49 +00:00
jeffs 3a90817270 Add option to apply additional mask to the SR at run-time for MIPS3 platforms.
By default this is off, and only slightly changes the code to load SR when
a temp register is available.  This can be used by the platform code to
handle slow to clear interrupts (our case) or to mask off any interrupt
any interrupt at run-time.  This can be very useful for embedded platforms
that have less than desirable interrupt properties.
2000-07-25 17:56:05 +00:00
mrg 219910d2e6 add disabled LOCKDEBUG; re-enable all the phy drivers 2000-07-25 17:26:36 +00:00
pk 320361c474 Re-instate a couple of delay slot NOPs marked `XXX spitfire bug?' 2000-07-25 15:15:32 +00:00
toddpw 6c80daae8d Ignore all undefined bits in the Tadpole microcontroller status register.
Only the low nibble is defined, and on at least one 3gx (mine) there is an
undefined bit which reads as a one -- bit 6 (0x40). This screwed tctrl_intr()
which would loop forever, thinking it always had new events to process.
2000-07-25 09:57:59 +00:00
tsubai 46ab3e89fb Use libsa alloc(). 2000-07-25 06:26:18 +00:00
tsubai dd54c272e5 Add ofwboot.{mrg,xcf} to CLEANFILES. 2000-07-25 06:22:05 +00:00
tsubai 8dc7633036 Make this compile again. 2000-07-25 06:18:23 +00:00
tsubai 13f68a994d Enable console in initppc(). 2000-07-25 05:44:27 +00:00