Commit Graph

1764 Commits

Author SHA1 Message Date
ross
33038ca087 Tweak this so it will build and run on ILP32 hosts, anyway, 0x...LL constants
are blessed by the C9X draft.
1998-12-03 04:16:18 +00:00
thorpej
a6f7e0c05a Implement WARN_REFERENCES(). 1998-12-02 00:58:42 +00:00
thorpej
11f3c29221 Add USB devices. 1998-11-29 06:57:46 +00:00
thorpej
958666b11a Oops, restore pcb_onfault if a fault occures in kcopy(). Pointed out by
Charles Hannum.
1998-11-26 20:26:52 +00:00
pk
4dc534f05d Export the pcmciabus' attribute on the pcic' controller. 1998-11-26 15:35:58 +00:00
ross
8bc9c17338 Disable sanity checks and unnecessary setup for conblock (-b) mode. 1998-11-25 21:19:35 +00:00
hwr
59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
mjacob
6b12feab6d add missing include file 1998-11-25 19:58:47 +00:00
tv
182b5b1d68 Sync with various options in GENERIC that were not added/changed here. 1998-11-25 18:37:48 +00:00
tv
e7f7d54046 The wss driver does work (AS200/233 uses it). Uncomment. 1998-11-25 18:37:27 +00:00
kml
ba30effcf8 Changes to support a HIPPI Framing Protocol device, which allows raw
HIPPI packets to be written without having to go through the network
stack.
1998-11-20 04:12:57 +00:00
ross
8d957efade Sigh, shuffle the nsio ide frobber yet again. 1998-11-20 03:58:22 +00:00
thorpej
5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
mrg
db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
ross
3f24fce866 More include shuffling. 1998-11-19 02:53:47 +00:00
ross
b0f44850f5 Don't insist on an FFS if we are in contiguous block (-b) mode. 1998-11-19 02:44:40 +00:00
ross
d963824bdc #include <machine/intrcnt.h> 1998-11-19 02:35:39 +00:00
ross
bc9cb58205 Fix interrupt map for baseboard bridge. 1998-11-19 02:33:37 +00:00
ross
47c613e7dd #include <machine/alpha.h> 1998-11-19 02:29:49 +00:00
ross
4ea2865631 +#include <machine/alpha.h>
+#include <machine/intrcnt.h>

Also, this module gets the junk I/O IDE channel frobber that used to
be in dec_axppci_33.c, so it can be called for the eb64plus also.
1998-11-19 02:28:56 +00:00
ross
372977cf54 Nuke the final holdout of INTRNAMES_DEFINITION.
Do a nice gas.new .rept/.endr loop and also pad each string with spaces
in case a platform actually does want to rewrite the names.

G/C some EVCNT_COUNTERS stuff.
1998-11-19 02:27:29 +00:00
ross
b9fa3646cb #include <machine/intrcnt.h>
#include <machine/alpha.h>
g/c some EVCNT_COUNTERS stuff.
1998-11-19 02:23:15 +00:00
ross
c6c1b0098f #include <machine/alpha.h> 1998-11-19 02:22:01 +00:00
ross
ee226b43f1 Include <machine/alpha.h> and do not directly include <bus.h> 1998-11-19 02:20:07 +00:00
ross
7221bd8229 +#include <machine/alpha.h>
-#include <machine/bus.h> (done for you by alpha.h)
Take the junk I/O chip IDE channel frobber and move it to machdep.c.
1998-11-19 02:05:07 +00:00
ross
d3509bcc51 Clarify the 1000/1000A situation: two variation tables and an all-purpose
backup platform.family string.
1998-11-19 02:02:45 +00:00
ross
9b7ad6c70c #include <machine/alpha.h> 1998-11-19 01:59:39 +00:00
ross
8470625657 New module to hold the alpha-specific prototypes that don't need to be
exported to the MI kernel. Almost everything here was formerly in cpu.h.
Optionally, this module could in the future be used to #include anything
that is always needed by arch/alpha modules.
1998-11-19 01:57:56 +00:00
ross
19a4c3110c Rip out 70 lines of (all of) the port-alpha-specific decls and prototypes.
They should not be visible to the MI kernel and the MI kernel shouldn't
depend on this junk.  Most of it moves to new module <machine/alpha.h>.

Leave badaddr() here, though, because it's used so widely.
1998-11-19 01:51:40 +00:00
ross
e2e3ee52ae Nuke the giant ugly-as-sin per-platform INTRNAMES masterpiece.
I just cannot add one more platform without getting sick.
Instead, we do just one table for all platforms. More-or-less,
it was only the A12 that even named it's individual interrupts anyway.

Also, prototype set_iointr() here. It's a slightly odd place, but 10*
better than the old place it was, and this file is included by exactly
the perfect set of .c files for set_iointr() visibility.
1998-11-19 01:48:04 +00:00
ross
a68dbb068a Stop including <machine/alpha_cpu.h>; we already export <machine/cpu.h>. 1998-11-19 01:42:37 +00:00
ross
da8b1017f4 "extern struct rpb *hwrpb" belongs here (duhhh) 1998-11-19 01:41:36 +00:00
oster
cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
oster
c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
mjacob
c0782a3653 more printf cleanups 1998-11-11 21:40:38 +00:00
thorpej
49c62c4336 Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
chs
61458d7dfa LOCKDEBUG enhancements for non-MP:
keep a list of locked locks.
use this to print where the lock was locked
when we either go to sleep with a lock held
or try to free a locked lock.
1998-11-04 06:19:55 +00:00
fvdl
42921bd66d Add the ex driver. 1998-11-04 00:40:03 +00:00
ross
cee6f4a531 Implement the new BUFCACHE option. 1998-11-02 04:43:23 +00:00
mjacob
3bcd2ef84d fix botched printout format 1998-11-01 00:03:08 +00:00
mjacob
82b48f66b6 If NSIO not defined, compile errors. 1998-10-31 23:51:05 +00:00
briggs
67be755f17 DTRT if sfb is not configured in the kernel. 1998-10-23 23:49:31 +00:00
briggs
2db4e51dad Kernel config for wscons/serial console support for TC alphas, based on
GENERIC.  This can go away when NEW_SCC_DRIVER hits prime-time.
1998-10-22 01:05:36 +00:00
briggs
ab9470909c Preliminary support for both serial consoles and kbd/display wscons
consoles for TC alphas.  Based on code from Takuya Koumoto
<takuya-k@is.aist-nara.ac.jp> as well as some parts of Toru Nishimura's
and Matthias Drochner's work on pmax wscons.  This relies on the
NEW_SCC_DRIVER.
1998-10-22 01:03:07 +00:00
tron
b296275bb4 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:09:13 +00:00
briggs
ba0625f1f5 vm_offset_t no longer exists. Change to paddr_t, vaddr_t, and psize_t. 1998-10-19 00:32:44 +00:00
ross
3707ad314c History. INSTALL is now used on the floppy set and combo CD/HD/tape image. 1998-10-16 00:15:15 +00:00
drochner
5bdff43727 Initialize default disklabel properly: Whole disk is RAW_PART, not 'a'. 1998-10-15 19:08:33 +00:00
drochner
2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
ross
3e35915bc3 Don't use big 16K blocks for the -b contiguous secondary boot installation.
It leads to confusion about where the end of the image is on tape boots.
1998-10-15 01:05:20 +00:00