Commit Graph

31476 Commits

Author SHA1 Message Date
is
718fb97e11 Support for the upcoming NetBSD/Amiga Hypercom driver family:
* support chip clocks != COM_FREQ, by introducing sc_frequency (for the
  mainline code) and adding a frequency parameter right after the rate
  parameter to comcnattach() and com_kgdb_attach().
- Make com_isa and com_multi initialize sc_frequency to COM_FREQ.
- Make i386/machdep.c and alpha/dec_xxx.c call com*attach() with the freq.
  parameter.
* supio_attach_args get two more fields: a sc_ipl and a sc_arg, both ints.
- com_supio uses the first for interupt establishment (all childs will, as
  soon as they exist) and the 2nd for sc_frequency.
- drsupio passes sc_ipl alway as 5, and for the "com"s, sc_arg as 16*115200
- hyper will pass sc_ipl as 6, and sc_arg as 16 * 460800
1997-09-16 20:34:23 +00:00
thorpej
d1b4b49231 - Use PALcode ops names defined in <machine/pal.h>.
- Fix a few bugs in the software single-stepping support code, where
  VMS PALcode ops were being checked, rather than OSF/1 PALcode ops,
  causing erroneous results in the "exception return" and "unconditional
  branch" predicates.
- Add the BWX instructions ("ldbu", "ldwu", "stb", "stw") to the
  "load" and "store" predicates.
1997-09-16 19:07:19 +00:00
thorpej
a14bab3438 Don't define another copy of the PALcode ops here; direct readers to
<machine/pal.h>.
1997-09-16 19:03:22 +00:00
thorpej
e7c2d59885 Fix an oversight in the last commit. 1997-09-16 19:02:13 +00:00
lukem
e111111128 resolve conflicts from lite-2 merge. 1997-09-16 16:44:43 +00:00
scottr
83bd421ad4 Set up base address of ASC for IIfx, per GtMFH. 1997-09-16 16:28:07 +00:00
scottr
eb72408374 Clean up comments. 1997-09-16 16:13:47 +00:00
scottr
8dbfee6073 Add a comment about the sccA address on the IIfx. 1997-09-16 15:51:09 +00:00
lukem
50badc6f7a imported from lite-2 1997-09-16 15:06:55 +00:00
lukem
d3b61af7f4 resolve conflicts from lite-2 merge 1997-09-16 14:52:35 +00:00
scottr
19e555febb Check booter flags for a bit that tells us whether we should construct
bootdev from the SCSI ID passed in via the Booter's environment.
(Does the right thing for older versions of the Booter.)
1997-09-16 14:35:32 +00:00
lukem
df57ac7d4f resolve conflicts from lite-2 merge 1997-09-16 14:19:03 +00:00
lukem
ec31f79470 * resolve conflicts from lite-2 import
* use int32_t instead of long
1997-09-16 14:05:39 +00:00
lukem
7120b2eafb resolve conflicts from lite-2 merge 1997-09-16 13:44:12 +00:00
lukem
a9c0a86a3c fix .Nm usage 1997-09-16 13:10:29 +00:00
lukem
375567dca2 * resolve conflicts from lite-2 merge
* cleanup for WARNS=1
1997-09-16 13:07:59 +00:00
lukem
704a9823f1 resolve conflicts from lite-2 merge 1997-09-16 12:54:42 +00:00
lukem
4b0b1ba833 resolve conflicts from lite-2 merge 1997-09-16 12:32:03 +00:00
lukem
8a3061d800 back to using mount/getmntopts.c since mount is now post lite-2 1997-09-16 12:31:11 +00:00
lukem
0b2c959ebd resolve conflicts from lite-2 merge 1997-09-16 12:26:56 +00:00
lukem
8895fa19a8 apply mods from lite-2 vers. of mount/mount_ufs.c (which this is derived from) 1997-09-16 12:26:29 +00:00
lukem
93d690909c resolve conflicts from lite-2 merge 1997-09-16 12:25:36 +00:00
lukem
932f5c39e2 update for new getmntopts() brought in from lite-2 merge 1997-09-16 12:24:18 +00:00
lukem
56638e9de2 resolve conflicts from lite-2 merge 1997-09-16 12:24:05 +00:00
lukem
dbe8ccd8bf update for new getmntopts() brought in from lite-2 merge 1997-09-16 12:23:34 +00:00
lukem
36323c1221 resolve conflicts from lite-2 import, with two major modifications
that require all of /sbin/mount_* and /sbin/umount to be modified:
* incorporate vfslist.c, adding checkvfsname() and makevfslist()
* getmntopts() now takes 4 args (adding int *altflagp)
1997-09-16 12:22:39 +00:00
lukem
f33b5a38b9 imported from lite-2 1997-09-16 09:03:30 +00:00
mrg
52ff5d8fee make these compile on the alpha after WARNS=1. 1997-09-16 08:37:01 +00:00
lukem
613a458802 If One splits a line for cosmetic reasons, One should ensure that the
preceeding line has a \ if it's part of a #define...
1997-09-16 07:29:56 +00:00
lukem
5e45f6e836 resolve conflicts from lite-2 import 1997-09-16 07:04:17 +00:00
thorpej
0599db7897 - Define bits used in the "amask" instruction.
- Define processor family IDs returned by the "implver" instruction.
- Prototype alpha_amask().
1997-09-16 06:57:12 +00:00
thorpej
9faf00ea6a Implement alpha_amask(), a stub which reads the "architecture feature mask"
using the "amask" instruction.
1997-09-16 06:54:01 +00:00
thorpej
4fe999c6bf - Add the "amask" and "implver" operate subfunctions.
- Add the "ldbu", "ldwu", "stb", and "stw" major opcodes (BWX instructions).
1997-09-16 06:52:48 +00:00
thorpej
fc80b40481 - Rewrite the functions that provide opcode subfunction names to make it
easier to add instructions that the disassembler doesn't know about
  (the opcode subfunction number is now printed).
- Add the "amask" and "implver" operate subfunctions.
- Add the "ldbu", "ldwu", "stb", and "stw" major opcodes (BWX instructions).
1997-09-16 06:52:16 +00:00
lukem
919c9246d4 resolve conflicts from lite-2 import 1997-09-16 06:41:19 +00:00
thorpej
aab66475d0 Build db_elf.c if ddb is configured. (Oops, this one got away!) 1997-09-16 06:05:54 +00:00
lukem
ea2eef1424 resolve conflicts 1997-09-16 03:13:18 +00:00
lukem
8a293e132a fix sccsid conflict 1997-09-16 02:43:59 +00:00
lukem
c697e3e2bf resolve sccsid conflict 1997-09-16 02:33:48 +00:00
lukem
6cdb4c3fbf resolve sccsid conflict 1997-09-16 02:13:23 +00:00
mrg
f4d8afa436 make a link from ipf.5 to ipf.conf.5 1997-09-16 02:06:41 +00:00
thorpej
d1fbc82e28 From page 6-9 of "Alpha AXP Architecture Reference Manual, Second Edition":
An IMB intruction must be executed after software or I/O devices
	write into the instruction stream or modify the instruction
	stream virtual address mapping, and before the new value is
	fetched as an instruction.

We were missing calls to IMB after mappings were changed, which caused
systems with large I-caches (e.g. my AlphaStation 500) to fail miserably
when mapping in new pages of program text, or when context switching
(I couldn't even get the shell from init!).
1997-09-16 01:52:00 +00:00
lukem
c19335a76d document `` .Nm "" , '' support 1997-09-16 01:30:53 +00:00
thorpej
4ccbd4b430 Make this safe in environments that have a Real vfork(2). Bug pointed
out by Chuck Cranor <chuck@netbsd.org>
1997-09-16 00:35:47 +00:00
thorpej
9a31fc02fe Don't forget to increase the free page count in vm_page_free_memory(),
pointed out by Mark Brinicombe <mark@causality.com>.
1997-09-16 00:08:09 +00:00
thorpej
37b8edbeac In addition to MAS_ABT, check TAR_ABT when doing configuration space
reads.  This is necessary because of newer AlphaStation firmware doing
the Wrong Thing with target aborts behind PCI-PCI bridges, much like they
do the Wrong Thing with master aborts.  Reported by Matthias Drochner.
1997-09-15 23:31:15 +00:00
thorpej
12f6c5aba1 Make sure to clear MAS_ABT if we received one. 1997-09-15 23:01:29 +00:00
thorpej
3c3c6a3b31 Use the symbolic name for "received master abort". 1997-09-15 22:35:54 +00:00
thorpej
8ff22715e8 Define bits in the CIA_ERR register. 1997-09-15 22:34:38 +00:00
is
dc914f2ee7 Only create verbose delay loop calibration message for DIAGNOSTIC kernels. 1997-09-15 22:17:55 +00:00