abrown
a0b7376b16
Add prototype and fix return type of blink() so "options BLINK" works
...
with -Wall -Werror
1996-04-13 17:40:03 +00:00
cgd
7e4d04910d
fix screw-up in the prototyping changes: print pointers with %p, NOT
...
by casting them to (unsigned int) then printing with %x.
1996-04-13 01:34:06 +00:00
cgd
e70b1375c9
add strncasecmp.c to ports' libkern Makefile.inc's. When adding a new
...
source file to libkern, it should be added to _ALL_ ports makefiles if
it is machine-independent and used by machine-independent code (in
this case adosfs). (There are several arguments that say that
strncasecmp should not be in libkern at all, and i think they're
good ones, but as long as ADOSFS needs it to link, it has to be here
for all architectures.)
1996-04-13 01:17:27 +00:00
cgd
98d92322b1
update for recent config changes: xxcd -> xx_cd
1996-04-13 00:31:37 +00:00
cgd
cad6c2d600
capitalize IRQ names here, to match what's reported on boot
1996-04-13 00:25:24 +00:00
cgd
21ac0b2a36
update for new ISA/EISA/PCI/'bus' interfaces. Untested
1996-04-13 00:24:30 +00:00
cgd
161623e54e
add (untested) support for EISA busses hanging off of PCEBs.
1996-04-13 00:23:34 +00:00
cgd
f32c94e82c
note that these IRQs are ISA IRQs
1996-04-13 00:22:58 +00:00
cgd
c0b2b5595c
Replace with completely new version derived from APECS code. No serious
...
bugs to fix (that i know of), just doing it that way was easiest.
1996-04-12 23:37:10 +00:00
cgd
56a6e33bb6
"Do over." Throw the old file away, replace it with a version hacked
...
from the current apecs_pci.c. This new version hopefully works for
the same sets of devices that that previous one did, and hopefully
will work for multi-function devices and for secondary PCI busses as
well. (looking at the code, there was no way the old one could have!)
1996-04-12 23:27:05 +00:00
thorpej
e408d7413a
Fix __sysctl() to return the proper value to the caller, to match
...
documented behavior. sysctl(3) is documented to return 0 on success,
-1 on failure. The previous behavior was to return -1 on failure
and the number of bytes copied back down to user space.
Fixes part of PR #1999 , from Kevin M. Lahey <kml@nas.nasa.gov>
1996-04-12 23:21:37 +00:00
cgd
435c2f935e
config first, so there's someplace to cd to.
1996-04-12 20:27:42 +00:00
cgd
ae42d9fdbd
oops; forgot to remove a line of debugging/testing code
1996-04-12 20:22:14 +00:00
leo
6e40f439fc
Part of restructuring done for 3-button mouse support.
1996-04-12 19:55:28 +00:00
chuck
4d91dc7c18
pull in ieeefp.h from m68k common area
1996-04-12 18:38:00 +00:00
chuck
c7a59b578d
sync with sun3 version
1996-04-12 18:35:40 +00:00
chuck
4420159d4c
fix warning from gcc
1996-04-12 18:33:59 +00:00
jonathan
f0d175fd22
Commit version that _really_ has only the innocuous fixes in the
...
last CVS message.
Possible uninitialized use of variables in the SII state machine,
requiring more thought, are still present.
1996-04-12 18:22:35 +00:00
jonathan
f6897c8eb6
fixes for -Wall -Wmissing-prototypes:
...
pass 1 over pmax SII driver: change "MachEmptyWriteBuffer()" to
"wbflush()", add prototyped forward declarations.
1996-04-12 18:15:23 +00:00
leo
658385632c
Prototyping.
1996-04-12 09:05:14 +00:00
leo
e7ad591a96
misc.c ->stalloc.c
1996-04-12 08:57:43 +00:00
leo
7a18bb9542
Just give them more descriptive names.
1996-04-12 08:46:44 +00:00
mycroft
ad790f628e
Turn off the trace flag when delivering a signal.
1996-04-12 08:44:35 +00:00
leo
9402dcae81
Add 3-button mouse support.
1996-04-12 08:39:22 +00:00
leo
e4a9d09efb
Add 3-button mouse support.
1996-04-12 08:37:03 +00:00
leo
7ff219ef0d
Add some prototypes.
1996-04-12 08:30:09 +00:00
cgd
432b9ff657
add support for the alpha
1996-04-12 06:34:36 +00:00
cgd
576c769331
clean up copyrights and RCS IDs
1996-04-12 06:07:05 +00:00
mycroft
035e9c211e
Use the flag mask in a somewhat more sane fashion.
1996-04-12 05:57:43 +00:00
cgd
eb4de32615
Set up and pass isa chipset tag to ISA bus, when attaching.
...
Should do the same for EISA, when that support is finished.
1996-04-12 05:43:02 +00:00
cgd
98c183ff49
remove (hack) version of isa_intr_establish()
1996-04-12 05:41:50 +00:00
cgd
69d8f0e09a
define all of the appropriate functions, as indirections through
...
a function switch.
1996-04-12 05:39:02 +00:00
cgd
0da2610536
this file is no longer used
1996-04-12 05:35:51 +00:00
cgd
931ec3829c
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet
...
complete, or tested.
1996-04-12 04:40:49 +00:00
cgd
c6af4505f1
implement 'bus' functions for the CIA chipset.
1996-04-12 04:40:01 +00:00
cgd
647469cfbc
update for new ISA/EISA/PCI and 'bus' interfaces.
1996-04-12 04:38:33 +00:00
cgd
125eefcd67
implement APECS and LCA 'bus' functions, and share them between the
...
two chipsets, since they're the same.
1996-04-12 04:36:12 +00:00
cgd
04645aa7ad
chipset 'bus' functions that seem to be common to all host bus
...
adapters that exist in single-CPU systems. APECS, CIA, and LCA
all use this, but with different #defines.
1996-04-12 04:34:59 +00:00
cgd
ba7bbf8c30
update for new PCI, etc., interfaces
1996-04-12 04:33:06 +00:00
cgd
be813334f8
(mostly) update for new PCI and 'bus' interfaces.
1996-04-12 04:32:10 +00:00
cgd
b26a595361
update for new PCI, etc., interfaces.
1996-04-12 04:31:48 +00:00
cgd
caa9d61d58
add indirect register definitions.
1996-04-12 04:31:08 +00:00
cgd
7b08107723
update for new PCI code, etc. As yet, untested.
1996-04-12 04:30:11 +00:00
cgd
f357f1b38a
partially update for new PCI & bus macros. update to deal with new
...
console glue. Split out RAMDAC-specific code into seperate files.
1996-04-12 02:13:09 +00:00
cgd
a52d1c3efe
clean up for new ISA and 'bus' code, etc.
1996-04-12 02:11:22 +00:00
cgd
c2ca361599
update for new ISA & PCI code, etc.
1996-04-12 02:09:51 +00:00
cgd
706b61a9a3
add some sanity checks to avoid lossage when dealing with unmanaged
...
pages, and clean up a little bit.
1996-04-12 02:09:24 +00:00
cgd
de1319f259
define delay() here, rather than in clock.c
1996-04-12 02:07:52 +00:00
cgd
92c3ba0426
new entries for keyboard, mouse, and parallel printer
1996-04-12 02:07:23 +00:00
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
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
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
mrg
2a0a8867ae
fix long-time bug in fdesc -- /dev/tty was a named pipe rather than a
...
mirror image of the real /dev/tty, a char dev. make it a char dev.
1996-04-11 11:24:29 +00:00
mycroft
c8ab43244b
Actually keep track of the naughty PSL bits.
...
Use VIF, rather than IF, by default, to be compatible with dosemu. XXXX
1996-04-11 10:07:17 +00:00
mycroft
48643c6605
Export [gs]et_vflags(), and always use them when saving/restoring registers
...
in VM86 mode.
Allow changing of *all* PSL bits in VM86 mode; some applications don't work
right otherwise, and all the nasty bits are virtualized anyway.
Make sure PSL_VIF, PSL_VIP, and PSL_VM don't show up in the user's view of
the PSL.
1996-04-11 07:47:33 +00:00