freebsd-skq/sys/dev/syscons
robert f3c329d265 Do not try to work around ``poor (un)sign extension code''
creation by GCC-2.6.3.  Casting pointers to unsigned char
to volatile pointers to unsigned char seemed to produce
better results on the ia32 architecture with old versions
of GCC.
The current FreeBSD system compiler GCC-3.2.1 emits
better sign extension code for non-volatile variables:

volatile char c;
int i = c;

is compiled to:
...
movb	-1(%ebp), %al
movbsl	%al, %eax
movl	%eax, -8(%ebp)
...

char c;
int i = c;

is compiled to:
...
movbsl	-1(%ebp), %eax
movl	%eax, -8(%ebp)
...

The same holds for zero-extension of dereferenced pointers
to volatile unsigned char.
When compiled on alpha or sparc64, the code produced for the
two examples above does not differ.
2002-10-20 22:50:13 +00:00
..
apm Remove __P. 2002-03-20 06:48:11 +00:00
blank
daemon
dragon Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
fade
fire Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
green
logo Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
rain Remote newly unused variable to unbreak LINT. 2002-03-25 02:55:34 +00:00
snake
star
warp Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
scgfbrndr.c Turn on TGA support. 2002-04-13 22:34:16 +00:00
schistory.c de-count schistory.c. The handling of NSC was rather bogus here and was 2002-08-19 23:56:01 +00:00
scmouse.c Use machine/limits.h rather than userland limits.h (which may come from 2002-08-22 20:44:17 +00:00
scterm-dumb.c
scterm-sc.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scterm.c
sctermvar.h Do not try to work around ``poor (un)sign extension code'' 2002-10-20 22:50:13 +00:00
scvesactl.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scvgarndr.c Fixed compilation warnings. 2002-03-06 08:55:34 +00:00
scvidctl.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
scvtb.c Don't use "NULL" when "0" is really meant. 2002-08-21 23:39:52 +00:00
syscons.c Make kqueue(2) work for virtual terminals. 2002-10-17 05:48:56 +00:00
syscons.h Add a VT_LOCKSWITCH ioctl that disallows vty switching. Something 2002-07-10 03:29:38 +00:00
sysmouse.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00