diff options
author | ed <ed@FreeBSD.org> | 2009-08-24 09:17:01 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-08-24 09:17:01 +0000 |
commit | a995cd062d6283935c9ebc9991e10ebde7c7cb59 (patch) | |
tree | fdbd7be578f5c48eadb6a49bcef203a3a93743ff /lib/libc | |
parent | e23bffc564ab5535d22eea5710c2e1dc24512239 (diff) | |
download | FreeBSD-src-a995cd062d6283935c9ebc9991e10ebde7c7cb59.zip FreeBSD-src-a995cd062d6283935c9ebc9991e10ebde7c7cb59.tar.gz |
Unhardcode 0x100 inside kbdcontrol.
In preparation for Unicode support for the keyboard layer, we'd better
get rid of all the hardcoded 0x100/0xff constants in kbdcontrol.
Instead, add a flag called SPECIAL stored in the top bit of the integer.
Adding Unicode support is very simple now; just change u_char map[] to
u_int map[] in keyent_t, change the bounds checking in kbdcontrol to
0x1FFFFF and modify the ioctls to allow loading these new keymaps.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions