Commit Graph

38100 Commits

Author SHA1 Message Date
mark cd0f9898b5 Fix problems with microsecond timestamping in microtime().
Remove some old dead code.
1998-03-26 20:07:18 +00:00
mark 26634e5f83 Cleaned up the IOMD access macros. 1998-03-26 20:05:49 +00:00
mark 6fa49296d7 Include machine/asm.h. Removed un-necessary .req directives. Use the
ENTRY() macro for declaring function entry points.
1998-03-26 20:05:13 +00:00
mark c6b5400405 Add a couple of missing brackets in the arm_byte_to_page and
arm_page_to_byte macros.
1998-03-26 19:57:13 +00:00
mark 47ec7dab23 This file is no longer included by anything and is out of date. All
podule definitions can be found in the podulebus subdirectory.
1998-03-26 19:55:53 +00:00
chuck 5f8c3edfed add pmap_dump as a DEBUG function 1998-03-26 19:49:51 +00:00
christos f46f2d693e PR/5210: Hauke Fath: make core dumps with .SHELL
Unfortunately this revealed a deeper problem with the brk_string code.
To fix it:
	- remove sharing of the buffer between brk_string invocations
	- change the semantics of brk_string so that the argument array
	  starts with 0, and return the buffer where the strings are
	  stored
1998-03-26 19:20:36 +00:00
thorpej 531db9e0d3 Sanity check the virtual addresses in the kernel and non-kernel cases
of pmap_enter() (and pmap_kenter_*()).  Remove diagnostic check for
kernel pmap in pmap_alloc_asn().
1998-03-26 19:06:28 +00:00
thorpej 040f7cbc70 Remove references to pmap.old.h - It should have just been pmap.h, but
that isn't necessary, either, since <vm/vm.h> is already included.
1998-03-26 18:17:13 +00:00
pk f3d6050987 Typo in initial interrupt register mapping code. 1998-03-26 16:11:40 +00:00
tv eae870f3f6 PR #3512 by Ty Sarna: add parsing of ${RCS_LOCALID} make variable to set
the local id.  This matches the variable used in the cvs-current pkg and
the (unsubmitted, but used by third parties) rcs-5.7 pkg.
1998-03-26 13:56:42 +00:00
tsubai 3ff4af3e9e Add MIPS_INT_MASK_FPU definition and remove unnecessary code. 1998-03-26 13:15:01 +00:00
jonathan 6b2d0fa8a0 * Create /sys/arch/mips/include/intr.h, with extern declaration of
interrupt-callout vector from mips locore dispatch code to port code.
* Move branch-emulation declaration to mips/include/trap.h.
* Garbage-collect pmax/pmax/trap.h.
  Not needed now pmax/pmax_trap.c is gone, and after above tidy-up.
1998-03-26 12:46:33 +00:00
jonathan 01be9f533f Add extern declaration of old "systype" global variable holding model type,
until all pmax code uses platform support.
1998-03-26 11:44:28 +00:00
jonathan 4d3f17a9f7 Garbage-collect oldstyle model-select options from GENERIC. 1998-03-26 11:35:42 +00:00
jonathan 9376fa1a1b Commit MIPS_INT_MASK_FPU change: use MD symbol to check for pending FPU
interrupts.
1998-03-26 09:21:05 +00:00
thorpej c506364411 Make this work with objdirs. 1998-03-26 07:36:30 +00:00
thorpej eb671b4eaa Build with -ansi, prevents a parse error apparently generated because
some versions of GCC have a `restrict' keyword (??).
1998-03-26 07:07:55 +00:00
thorpej 407311a4bc Fix types lossage on Alpha. 1998-03-26 06:44:19 +00:00
thorpej dd3d062237 Delete a couple of gratuitous printfs. 1998-03-26 06:36:36 +00:00
thorpej 8a86fd47be It's Just Wrong to configure a KN02 system slot as an IOCTL ASIC, but
since it's currently done that way, nuke the gratuitous printf that
reports the behavior.
1998-03-26 06:35:27 +00:00
thorpej 38d5126caf Set cpu_model in the dec_foo_init() functions, make them consistent and
descriptive, and print the model before reporting physical memory size.
1998-03-26 06:32:37 +00:00
thorpej b6fca1a9c8 The line between "family" and "model" are ... very fuzzy on the DECstation.
So, don't bother.
1998-03-26 06:27:57 +00:00
scottr 5fa1b5f440 Add Performa 580/588 to the list of machines which have a Cuda chip.
XXX - we should really be using machine ID symbolic constants here, not
numbers.
1998-03-26 06:25:49 +00:00
thorpej 88bcefdcce Need <string.h> for memcpy() prototype. 1998-03-26 06:00:34 +00:00
thorpej d654444e88 Right now all platforms use the tc_slot_info[] stuff, so put it in a place
where everyone can get at it.
1998-03-26 03:12:05 +00:00
thorpej c4ba627afc Kernel config file for bishop.nas.nasa.gov and ripley.nas.nasa.gov,
AlphaStation 500 and AlphaStation 600, respectively.
1998-03-26 03:00:36 +00:00
thorpej 9234f2450b Enable DDB history, netbsd.gdb. 1998-03-26 02:58:48 +00:00
thorpej 6111783e61 if NEW_SCC_DRIVER, 3000/300 and 3000/500 aren't PROM console candidates. 1998-03-26 02:53:21 +00:00
thorpej a9e071bef5 defopt NEW_SCC_DRIVER 1998-03-26 02:52:43 +00:00
thorpej 1282aca230 Add options UVM, PMAP_NEW, and NEW_SCC_DRIVER. 1998-03-26 02:51:46 +00:00
thorpej 73f1a02583 If NEW_SCC_DRIVER is defined, the 3000/300 and 3000/500 are not
PROM console candidates.
1998-03-26 02:45:34 +00:00
jonathan 35205d76c6 Define TIOCDCDTIMESTAMP for NTP pulse-per-second (PPS) sampling on
carrier-detect transitions, as described in the xntp documentation.
Use the same value as FreeBSD (88) for binary compatibility.
Should be implemented in lowest-level interrupt handler of serial drivers.
1998-03-26 02:45:01 +00:00
thorpej 7b4da708cc Add support for attaching a zstty as the console, conditional on
NEW_SCC_DRIVER.
1998-03-26 02:43:22 +00:00
thorpej 4a4bccc923 Remove references to NEW_PMAP. 1998-03-26 02:21:46 +00:00
thorpej 76ba34c797 Remove references to "new_pmap". 1998-03-26 02:19:02 +00:00
thorpej 456b3df281 Remove the Mach 3 pmap from the tree, replacing it with the contents of
pmap.old.<whatever>.  To see the history, look at the corresponding
pmap.old.<whatever> file.
1998-03-26 02:18:03 +00:00
mycroft 0fda14e4f9 Use major(), minor() and makedev(), not a hacked up local equivalent, which
only supported 8-bit major and minor numbers.
1998-03-26 02:14:00 +00:00
mhitch 9893e4c551 The mips port now uses /usr/libexec/ld.elf_so. 1998-03-26 02:13:18 +00:00
cgd 4cc8220755 when reading the MBR, seek to DOSBBSECTOR * DEV_BSIZE rather than just
DOSBBSECTOR.  DOSBBSECTOR is 0 so it doesn't really matter, but the former
is what was really intended.
1998-03-26 01:37:49 +00:00
cgd 55060d037f in makebootarea() (if NUMBOOT is nonzero), before reading the contents
of the old boot area so that 'disklabel -r -w' won't clobber anything,
be sure to seek to the offset of the boot area (like readlabel() does).
Otherwise, if the machine has code which looks up machine-dependent label
bits, the offset read from will be incorrect, and disklabel will end up
secretly replacing the boot area with other data (which probably doesn't
look like a boot block).  The only port this currently affects is
NetBSD/arm32, because it's the only one of the three ports that use
NUMBOOT > 0 that has MD label grovelling code.
1998-03-26 01:35:17 +00:00
thorpej 17513c206c make this compile 1998-03-26 01:09:04 +00:00
thorpej 60e832dc24 Make this compile. 1998-03-26 01:01:13 +00:00
thorpej b9db388b0f don't use variables declared _inside_ DEBUG in code _outside_ DEBUG 1998-03-26 00:49:03 +00:00
pk f658122053 Check for a valid PROM virtual address. 1998-03-25 23:15:07 +00:00
thorpej 3ac5a77c70 Make pmap_kremove() deal with mappings entered with pmap_enter() as well.
Prevents stale PV entries from lingering around.  Fixes a nagging
"kernel stack not valid halt" I was seeing with PMAP_NEW.

Idea from Chuck Cranor.
1998-03-25 22:52:28 +00:00
chuck 1c1186a3f2 the kernel remove function can encounter mappings that are on the
pvlists if they were entered by the fault routine.   in this case
we had better call pmap_remove to clear out the pventry structures.

appears to fix some pvlist releated panics people have seen with pmap.new.
1998-03-25 22:49:11 +00:00
is 6c7f702633 - remove one level of soft interupt in the software autorepeat code
- WOPEN -> wopen
1998-03-25 22:14:13 +00:00
fair 0dc86d3286 remove a note about eeprom on Suns - not true. 1998-03-25 22:05:01 +00:00
fair 01b13d66f9 additional miscellaneous cleanup of "entering debugger" and "machine-specific commands" sections. 1998-03-25 21:58:08 +00:00