ad
dc26833bb6
- Factor out too many copies of the same bit of tty code.
...
- Fix another tty signalling/wakeup problem.
2007-11-19 18:51:36 +00:00
joerg
d238692c3e
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
...
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
2007-10-18 18:54:56 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
chs
2933005205
avoid checking if an unsigned number is less than 0. fixes PR 29948.
2006-01-21 19:28:44 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
drochner
0f412f7917
make this compile after Wcast-qual
2005-06-01 17:05:16 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
uwe
bb09aff859
Undo previous as it broke things.
...
There are some scattered implicit RASTERCONSOLE dependencies,
so there should be a better way.
2003-08-25 17:50:22 +00:00
uwe
4b28d28d70
defflag RASTERCONSOLE.
2003-08-24 17:36:32 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
junyoung
3d826105dc
alloc_attr -> allocattr
...
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
lukem
7ba10b3532
add RCSIDs
2001-11-13 06:54:32 +00:00
eeh
7fbd726cc8
Stop wscons from conflicting with rcons.
2001-10-05 22:08:28 +00:00
wiz
9fa0b17629
Give initiali[sz]e all the "i"s it deserves.
2001-09-18 18:15:49 +00:00
jdolecek
372e5956ef
Only install headers which are actually used by our userland. This
...
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.
I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00
deberg
9a37177d17
fix 16BPP support (for next68k), from Timm Wetzel.
2000-09-29 06:29:47 +00:00
pk
0ba1516cd7
Use a default attribute to restore the display mode to original settings.
...
Also, pass in WSATTR_COLORS at all times when allocating screen attributes
since without it we cannot even get black-on-white from rasops(9).
2000-04-16 21:49:49 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
thorpej
fc96443d15
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
pk
7327fb6f23
Split off tty initialization in rcons_init() into a separate routine
...
and get rid of `fbconstty'.
2000-03-20 11:24:46 +00:00
ad
3fc9d6b40e
Indicate that rcons is a dead end and that doing something more wsconsish is
...
recommended.
1999-12-17 01:41:52 +00:00
scottr
d617933e27
Round out our options with 4bpp framebuffer support, conditional
...
on RCONS_4BPP.
1999-11-23 01:52:52 +00:00
thorpej
f0629e4b90
Change the way the default foreground and background colors are chosen:
...
require the front-end to initialize rc_deffgcolor and rc_defbgcolor (both
new members), and override these only if RASTERCONSOLE_{FG,BG}COL are
set in the kernel configuration file.
1999-08-26 20:48:09 +00:00
bouyer
29664a379a
The options actually used are RASTERCONSOLE_{FG,BG}COL, not
...
RASTERCONS_{FG,BG}COL. defopt the rigth ones.
1999-07-20 18:05:15 +00:00
ad
080560c8c6
- Setting initial position of cursor is up to caller.
...
- Set cursor position properly for SPARC. From Juergen Hannken-Illjes.
1999-05-23 17:59:39 +00:00
ad
5bb340fef9
This file is superceded by rcons.h.
1999-05-20 21:16:57 +00:00
thorpej
332dd60029
Fix broken prototype.
1999-05-20 19:56:49 +00:00
ad
02bc362e3e
Add arg to rcons_init() that when set causes screen to be cleared.
1999-05-19 20:34:19 +00:00
ad
4bebd3ff7c
Don't clear screen upon startup unless we're running on a pmax (remedies
...
quirky behaviour of px boards). Shuffle come code in rcons_init_ops() in
order to be more clear.
1999-05-19 20:07:34 +00:00
ad
6ee9a851df
Let `mapchar' in operations set decide if characters (c > 127) are printable.
1999-04-22 00:46:36 +00:00
ad
9603b90966
Add missing RCONS_2BPP and RCONS_16BPP options for compatibility with code
...
that has not yet changed over to 'rasops'.
1999-04-14 18:43:24 +00:00
ad
8fe6730f9a
Many enchancements to rcons to support ANSI color and all attributes
...
properly. All output now performed using a 'struct wsdisplay_emulops'.
1999-04-13 18:43:17 +00:00
dbj
9d326d488b
defopt RCONS_2BPP and RCONS_16BPP
...
add support for 16bpp framebuffers as found on color nexten.
1999-03-27 00:07:58 +00:00
drochner
2379551296
add 2bpp support, for sake of NeXT monochrome displays, from
...
matt debergalis <deberg@mit.edu> KB1CTH per PR kern/6741 and kern/6786,
minimally corrected
1999-01-11 11:08:14 +00:00
thorpej
f64a09cf13
Replace a use of << with the LSOP macro, to fix a specific problem on
...
little-endian machines. PR #6390 , Ben Harris.
1998-12-18 21:59:34 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
christos
86373f8cf9
backout kprintf changes
1996-10-13 01:37:04 +00:00
christos
3b23328ae6
printf -> kprintf, sprintf -> ksprintf
1996-10-10 21:11:37 +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
christos
357fb0e430
- add and fix prototypes and warnings.
...
- remove nested comment in header file.
1996-03-14 19:02:30 +00:00
pk
3b2862c858
Make it work on little-endian monochrome buffers; per Ted.
1995-11-29 22:12:58 +00:00
pk
12bfe2e68e
Must change `u_long' to `u_int32_t' as Jason pointed out.
1995-11-29 22:03:53 +00:00
cgd
540ab1b88d
since 'long's in this code are meant to be exactly 32-bits wide, use
...
'int32_t's instead, so that this code is usable on the alpha.
1995-11-24 23:50:51 +00:00
pk
476de93402
Remove `rc_font_ascent' from structure.
1995-10-05 13:17:51 +00:00
pk
6a7edf0b56
Move font defs back into machine-dependent area (per Jonathan Stone).
...
Integrate patches from der Mouse (8-bit cleanliness, FULLSCREEN option,
SMALLFONT option).
The (MD) caller of rcons_init() is now responsible for initialising `rc_font'.
1995-10-04 23:57:17 +00:00