provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
simonb
4e3613273b
Remove breaks after returns, unreachable returns and returns after
...
returns(!).
2002-09-23 05:51:10 +00:00
gehenna
77a6b82b27
Merge the gehenna-devsw branch into the trunk.
...
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
enami
4aaba8dea1
- Allocate enough space to hold an object.
...
- No need to request to zero clear when we overwrite soon.
2002-03-21 03:26:55 +00:00
ad
9c918242a2
Add missing structure member copies in wsfont_add0().
2002-03-20 12:18:56 +00:00
uch
9b5ad836c6
include sys/queue.h.
2002-03-18 14:35:20 +00:00
ad
b89e39b91a
Reorganise the wsfont stuff slightly so that multiple display adapters
...
with different bit/byte order requirements can co-exist happily.
2002-03-13 15:05:13 +00:00
ad
cf9ef8999f
Clean up.
2002-03-13 10:42:56 +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
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
lukem
b589588216
add RCSIDs
2001-11-13 06:08:32 +00:00
augustss
b079ab789b
ANSIfy.
2001-10-13 16:05:42 +00:00
drochner
cb896c703c
implement a pseudo-device wsfont for access to the wsfont machinery
2001-09-03 17:05:20 +00:00
drochner
056402167e
make dynamic font addition usable,
...
export font matching function for common use
2001-09-03 17:04:11 +00:00
uwe
1f4eee4c21
In wsfont_map_unichar: when checking that 'lo' is within 'map2' range,
...
compare 'lo', not 'hi' (only partially edited cut-n-paste it seems).
2001-06-12 00:57:10 +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
enami
d04f4ebff1
WSDISPLAY_FONTENC_SONY is gone.
2001-03-31 00:14:32 +00:00
tsutsui
42e44c1408
Make Sony's fonts ISO8859-1 compliant.
2001-03-30 13:06:45 +00:00
cgd
c105346203
Avoid sequence point issues.
2001-02-24 00:03:12 +00:00
ad
3ad7988a6d
Fix duplicate cookie.
2001-02-07 13:59:24 +00:00
marcus
005368f745
Added a function to remap Unicode character to font glyph index.
2001-02-02 06:00:38 +00:00
marcus
0fa36be20f
Set correct font encoding.
2001-02-02 05:59:53 +00:00
tsutsui
1e1862bc57
Add another font from 4.4BSD-Lite2/luna68k.
2000-11-24 15:47:15 +00:00
tsutsui
690b28f91e
Add a couple of fonts used on Sony NEWS.
...
Generated from (recently removed) sys/arch/newsmips/dev/fnt{,24}.c.
2000-11-21 11:44:45 +00:00
ad
3553879fc2
Use my proper name.
2000-06-13 13:36:42 +00:00
enami
11fe38b6ad
Restore the system priority level on error return.
2000-01-07 03:25:46 +00:00
enami
cadfd97e07
Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/R2L.
2000-01-07 02:57:17 +00:00
ad
59a1ab9791
Add two new members to 'struct wsdisplay_font': 'bitorder' and 'byteorder'.
2000-01-05 18:44:21 +00:00
ad
38fdaf4b34
Fix comment.
1999-12-15 15:34:18 +00:00
ad
9bfaff072d
Now I remember. Add a new flag, WSFONT_RDONLY that indicates the font
...
to be added to the table should not be modified; i.e. if modifications
are needed, a copy should be made.
1999-12-15 15:27:57 +00:00
ad
a8112faedb
- Squash a few stylish nits.
...
- Move font flags to wsfont.h. There is a point to this. I'll remember soon.
1999-12-14 22:35:17 +00:00
ad
942f120fbf
Lay it out like the other fonts.
1999-12-04 13:40:21 +00:00
ad
43e59084c4
- Stylistic cleanup.
...
- Make ifndef'ed out bits look less like a statement of intent.
1999-12-04 13:35:42 +00:00
takemura
8f94bda30c
Add new font sets - VT220 8x8 and 8x10.
...
I brought them from arch/i386/isa/pcvt/Util/fonts.
You can specify FONT_VT220L8x8 or FONT_VT220L8x10 in a configuration file.
1999-11-02 10:25:22 +00:00
ad
bb3a510fa2
Assign ownership & copyright to TNF. There is probably a procedure for this
...
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
ad
e2db3e3f25
Update usage comment.
1999-04-29 02:42:43 +00:00
ad
3dc48bf302
Bump WSFONT_L2R/R2L by +1 so 0 can mean no specific order is required.
...
Change entry for QVSS to match bitorder.
1999-04-26 23:41:57 +00:00
ad
caf44885ea
Change WSFONT_LITTLE/WSFONT_BIG to WSFONT_L2R/WSFONT_R2L to reduce possible
...
confusion.
1999-04-26 04:24:22 +00:00
ad
c0735a01c5
Replace qvss8x15 with version from NetBSD/vax, which contains the full ISO
...
character set.
1999-04-14 23:06:26 +00:00
ad
619320f97d
Remove courier11x18 due to licensing concerns. Fixup license on lucida16x29.
1999-04-14 18:25:47 +00:00
ad
a9ef1be75b
iso8x16 font removed until such time as licensing can be clarified.
1999-04-13 18:34:13 +00:00
ad
de43e7cc8d
Fixed licensing due to a foobar on my behalf.
1999-04-13 00:40:07 +00:00
ad
7db08b6507
Initial import of wsfont, an in-kernel font table for wscons/rcons.
1999-04-13 00:24:05 +00:00