mrg
305e44c869
check for when cnopen() will call itself recursively, and panic instead of losing badly.
2000-06-12 05:02:22 +00:00
itojun
e6469f14ad
move static function getstr() to cons.c, make it publically available
...
as cngetsn(). there will be other consumer.
2000-05-08 16:30:57 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
thorpej
a183d34f04
- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
...
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
leo
7bff22bddc
Catch a console configuration error. Instead of jumping through cdevsw indexed
...
on major(NODEV), call panic...
1999-08-04 14:40:54 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
jonathan
8ae2ddf4ad
fixes for -Wall -Wmissing-prototypes:
...
add "return (0);" to cnstop()'s emtpy body.
1996-04-08 19:57:30 +00:00
christos
d4f46b2259
cnputc returns void
1996-02-04 02:04:08 +00:00
cgd
523c12167c
fix definition of nullcnpollc, and add a prototype for it.
1995-11-25 00:03:35 +00:00
pk
333a55a4ce
Remove duplicate definition of `constty'.
1995-04-11 22:08:06 +00:00
mellon
57289e2cf2
Split cninit from cons so ports that can't use it don't have to include it.
1995-04-11 10:06:38 +00:00
mycroft
6e992fcd83
Add a dummy cnstop().
1995-04-10 06:30:52 +00:00
cgd
cba4b405e4
don't let args default, return values, add protos
1995-03-24 15:29:46 +00:00
mycroft
a395d884d5
Remove extra arg to d_open and vn_open().
1994-12-14 19:09:13 +00:00
christos
c2c3dce760
added extra argument to vn_open
1994-11-14 06:00:10 +00:00
mycroft
1c76bf7aa1
Add a nullcnpollc(), for people who don't want to deal.
1994-10-30 22:16:37 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
mycroft
511d2732a3
Implement cnpollc().
1994-10-26 17:56:53 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
cgd
89e331dcad
new standard, minimally intrusive ID format
1994-06-27 19:40:57 +00:00
mycroft
3b4b77ca23
Reverse sense of vfinddev().
1994-06-08 11:19:41 +00:00
cgd
49b3055feb
undo that last
1994-04-11 21:53:54 +00:00
cgd
34ac381d05
don't cdevvp() if a vnode for the dev already exists. Note that that's
...
conceptually icky; you end up ref'ing a 'real' vnode, and hence perhaps
tying down a file system; should be able to reference a 'fake' one,
but i doesn't appear save to cdevvp() if vnode for same dev is already
around... also, mark vfinddev()s XXX (for later).
1994-04-11 19:53:29 +00:00
cgd
17378eaf33
and fix the other case. ugly fix, but it works
1994-04-10 01:11:28 +00:00
cgd
fd3fc1deb4
get sense of two comparisons right. from Chris Hopps <chopps@lamp>
1994-02-16 00:09:39 +00:00
cgd
f1ab8b020a
new location of cons.h
1994-02-01 03:35:06 +00:00
cgd
da816a79ea
make behaviour with constty consistent, deal properly with the case
...
where there's no console, and set things up so that this can be made
'shared' eventually. look at diffs for exact changes.
1994-01-27 07:55:44 +00:00
cgd
8803fd0388
if CN_REMOTE, don't redirect output. this file needs some help,
...
but now at least i'm thinking about it again.
1994-01-27 05:30:38 +00:00
deraadt
1eacd36710
pccons.c now dynamically allocates it's "struct tty"
...
cons.c's "struct tty *cn_tty" wasn't used by any of the kernel, and goes away.
1993-07-07 11:00:23 +00:00
andrew
0e6cb953ea
ANSIfications - removed all implicit function return types and argument
...
definitions. Ensured that all files include "systm.h" to gain access to
general prototypes. Casts where necessary.
1993-06-27 06:01:27 +00:00
deraadt
0b12df586d
1. It is now possible to build a kernel that does not have a pc0 device driver.
...
2. "press any key to reboot" reads the key from the console.
3. wddump() still needs a non-blocking getc() routine (or flush)
1993-05-28 09:10:29 +00:00
cgd
fe1802950b
add include of select.h if necessary for protos, or delete if extraneous
1993-05-22 11:40:42 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
cgd
ad845984f9
add pg_wait, which must be set if you want pg() to actually wait for keybd
...
input. this one is way useful...
1993-05-04 05:47:50 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00