Commit Graph

19319 Commits

Author SHA1 Message Date
cgd 99841b9cdd cast return of phystok0seg() to a caddr_t, to suit uiomove proto 1996-04-12 02:06:21 +00:00
cgd 73378c1529 add rpcc entry point 1996-04-12 02:05:48 +00:00
cgd 26bf14c6fe update for new ISA & bus code, and clean a bit 1996-04-12 02:05:14 +00:00
cgd f0a062ba62 replaced by files in ../wscons 1996-04-12 02:02:06 +00:00
cgd 89579980e6 this has moved to ../include 1996-04-12 02:01:51 +00:00
cgd 7a58e4fe08 "workstation console glue." glass tty code, console emulation,
keyboard and mouse interfaces, etc.  Mostly grabbed from the sparc,
and adapted and trimmed where appropriate.
1996-04-12 02:00:42 +00:00
cgd 607fdc7ab6 (incomplete) machine-dependent ISA definitions. 1996-04-12 01:57:42 +00:00
cgd 42362ab7a1 PC timer definitions 1996-04-12 01:54:56 +00:00
cgd da4d801b40 speaker (PIT AUX port) definitions 1996-04-12 01:54:46 +00:00
cgd c032474c02 add CMU copyright notice 1996-04-12 01:54:04 +00:00
cgd 7aadd7593f support for PS/2-style mice 1996-04-12 01:53:06 +00:00
cgd 1c35246b36 update for bus.h, add support for X, and provide use of the bell. 1996-04-12 01:52:45 +00:00
cgd 0e6af1ab55 keyboard and frame buffer interface include files, grabbed from the
sparc with minimal modifications, to make X go.  Should really be
trimmed down to include only the relevant information.
1996-04-12 01:45:41 +00:00
cgd b6e9f99e08 TGA reg defns, moved here from ../pci for X. doesn't really belong here 1996-04-12 01:44:23 +00:00
cgd 59ca8b07e6 header which defines 'workstation console glue' ioctls 1996-04-12 01:43:06 +00:00
cgd 0af73c4da4 alpha sysarch header. right now, only defines (inline) alpha_rpcc() 1996-04-12 01:42:45 +00:00
cgd a37e40ef1b the Alpha implementation of <machine/intr.h> 1996-04-12 01:42:17 +00:00
cgd 84b2d703c7 the Alpha implementation of <machine/bus.h> 1996-04-12 01:39:34 +00:00
cgd b151b7e326 these have moved elsewhere 1996-04-12 01:38:51 +00:00
cgd 0e1f086279 add XOPEN constants, clean up 1996-04-12 01:38:25 +00:00
cgd 4bdd407757 update copyright 1996-04-12 01:36:51 +00:00
cgd f695b5badd use jmp, rather than br, in the JMP macro 1996-04-12 01:35:58 +00:00
cgd 1d001142a9 don't forget dkcksum.c, now that it's seperate 1996-04-12 01:35:15 +00:00
cgd 29fe6c8918 clean up a lot, make work with outline mode, and switch functions:
build now builds from scratch, rebuild just runs make.
1996-04-12 01:33:40 +00:00
cgd 9e1fc3f99c kill this; more trouble (for more people) than it was worth 1996-04-12 01:32:54 +00:00
cgd ba87ccc479 update for latest MI TC and SCSI code, and clean up in the face of
config changes.
1996-04-12 01:31:43 +00:00
cgd 7128b7a114 i no longer can do anything with macallan, so kill its kernel config.
However, Jason has a turbochannel alpha, so add its config file.
1996-04-12 01:21:43 +00:00
cgd 34e27f0c56 update for present alpha reality:
add drivers for ps/2-style mice (on the PC-ish alphas), and for the
workstation console glue code.  also, update for config changes, etc.
1996-04-12 01:20:40 +00:00
cgd 51e85d07b9 update for addition of a machine-dependent cookie as the first argument
to isa_intr_{,dis}establish().
1996-04-11 22:27:59 +00:00
cgd e6456e7285 on non-i386 systems, include <machine/intr.h> (per charles's proposal on
tech-kern (?)), to get the IPL_* and IST_* types.  pass the machine-dependent
cookie given at attach time on to sub-devices, so they can use it to access
the interrupt functions properly.
1996-04-11 22:25:44 +00:00
cgd a391172983 include a machine-specific header from ARCH/isa/isa_machdep.h, to define
the isa_chipset_tag_t type, and to define or prototype:
	isa_attach_hook()
	isa_intr_establish()
	isa_intr_disestablish()
i.e. the machine-dependent functions to be used my MI ISA code.
Remove prototypes for the latter two functions from this file.
1996-04-11 22:20:50 +00:00
cgd 79e0a8a2b9 update for addition of a machine-dependent cookie as the first argument
to isa_intr_{,dis}establish().
1996-04-11 22:15:08 +00:00
cgd 5007f5e246 pass a new, machine-dependent cookie, in the ISA bus attach arguments.
On the i386, this is always NULL, and is unused.
1996-04-11 22:13:37 +00:00
cgd 8f40bb43a8 add an isa_attach_hook() function which currently does nothing, and update
isa_intr_establish() and isa_intr_disestablish() to take an opaque cookie
as their (new) first argument.
1996-04-11 22:11:32 +00:00
cgd f3b97d1287 prototype MD functions for use by MI ISA code (isa_attach_hook(),
isa_intr_{,dis}establish()) here.  Make this file safely includable by
<dev/isa/isavar.h> and by all of the places in the i386 that are currently
including it, which means multiple inclusion protection and a few
otherwise-extraneous 'forward' structure declarations.  isa_intr_establish()
and isa_intr_disestablish() now take as their first argument a
machine-dependent cookie of type isa_chipset_tag_t, which is also defined
here.
1996-04-11 22:10:11 +00:00
cgd 01c4e7fb64 include raster_op.c and raster_text.c if 'raster' is defined, as well
as if 'rasterconsole' is defined.  Alpha uses 'raster' to pull in the
raster text and operation code, but doesn't use this console emulator,
etc.
1996-04-11 21:54:38 +00:00
thorpej b3897170bd Haven't used "options RCONSOLE" for a long time. Update to the new
"options RASTERCONSOLE".  Noticed by cgd.
1996-04-11 21:54:13 +00:00
phil 3f09e4a7e4 Sync with gcc2netbsd. (and do the right thing.) 1996-04-11 21:22:42 +00:00
thorpej e17cddf913 If the power device is configured, don't forget to compile the driver.
Also, add some whitespace for readability.
1996-04-11 21:05:42 +00:00
thorpej 41a08fd254 Include fdc.h, not fd.h, due to change in files.sparc. 1996-04-11 19:20:03 +00:00
christos 2429048059 add rawip, ticlts, ticots, and ticotsord 1996-04-11 12:59:45 +00:00
christos 5fda4b10a2 - small ioctl naming changes.
- pass ioctl fd explicitly.
1996-04-11 12:54:40 +00:00
christos 3b309224fd - Pass ioctl file descriptor explicitly.
- some 'T' ioctl's are for streams, call the stream function in the default case
1996-04-11 12:53:48 +00:00
christos 4a0b33e910 Handle different address families, and in particular AF_UNIX. 1996-04-11 12:52:41 +00:00
christos 8edeaa1f71 Add accept message 1996-04-11 12:52:03 +00:00
christos d37bbda397 - keep the address family in the global state, now that we are using it.
- add netaddr_un
1996-04-11 12:50:31 +00:00
christos 0a8a2051dc - Make unix domain sockets work.
- Implement GETSOCKNAME and GETMYNAME
- Implement getmsg(ACCEPT) [incomplete]
- Implement LISTEN [incomplete]

There are too many changes in the code, this is why the incomplete checkpoint.
1996-04-11 12:49:13 +00:00
christos 8294057bdb Svr4 does not have unix domain sockets; it emulates them with mode 0 named
pipes. Emulate that behavior, by telling svr4 we've found mode 0 named pipe
when we find a unix domain socket. Also record the name and device,inode
pair of sockets found.
1996-04-11 12:46:41 +00:00
christos dcf6c8ee56 New files to provide a device,inode -> pathname mapping for unix domain
sockets. This is needed for putmsg(2)
1996-04-11 12:43:29 +00:00
christos 260951021b Use uprintf instead of printf for debugging. Lot's of printing causes panics
on the sparcs, and even if that was not the case, you end up losing text.
1996-04-11 12:41:25 +00:00