Date: Tue, 22 Sep 2009 15:49:19 +0400 From: Stanislav Sedov <stas@FreeBSD.org> To: Ed Schouten <ed@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197330 - in head: sys/dev/kbd sys/sys usr.sbin/kbdcontrol Message-ID: <20090922154919.55abf2f1.stas@FreeBSD.org> In-Reply-To: <200909191756.n8JHuQCq031719@svn.freebsd.org> References: <200909191756.n8JHuQCq031719@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Tue__22_Sep_2009_15_49_19_+0400_tyLY3UbXyPCH787L Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 19 Sep 2009 17:56:26 +0000 (UTC) Ed Schouten <ed@FreeBSD.org> mentioned: >=20 > Modified: head/sys/sys/kbio.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/sys/kbio.h Sat Sep 19 15:48:59 2009 (r197329) > +++ head/sys/sys/kbio.h Sat Sep 19 17:56:26 2009 (r197330) > @@ -106,7 +106,7 @@ typedef struct keyboard_repeat keyboard_ > #define _KEYMAP_DECLARED > =20 > struct keyent_t { > - u_char map[NUM_STATES]; > + u_int map[NUM_STATES]; > u_char spcl; > u_char flgs; > #define FLAG_LOCK_O 0 Hi, Ed! Can we make this conditional depending on some variable like KBD_UNICODE so it will be possible to avoid the increased memory footprint (24 bytes per entry) in situations where unicode support is not required? Or maybe even have this dynamically allocated? Thanks! --=20 Stanislav Sedov ST4096-RIPE --Signature=_Tue__22_Sep_2009_15_49_19_+0400_tyLY3UbXyPCH787L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKuLnEAAoJEKN82nOYvCd0iAAP+wai14YbHXCXa401Yjvu54fJ SU4YzY7h5SsEWeYnZ9L/mkgqlc+62LBwO1zr/rm3PBlMIHmkrBzIilvDoEw3tfB2 3mPRwnMMjyqbEAptOBxKKHloGwZHFan6fCmdHBJCe5OLnVQdlZax0qgjwBue6lfG RmrxfSTKiFHDa28wCZhE5JJU3fpc/xHa1jQZRYihmq+lCa5QaXesRNdIa+MbIfzM es63FsgKRw6ADI1bpvU/OGs864p1xpoCr8jnR6e8BBQ3E5RcrJJ3Km4xiK6BeEYJ TtcWj7EJ/sjxM27ee5JxL50s6nORv0KQoue/++L/Raq6/Q7YByt7OXVn687/uxc3 9JY179W98HarLa3SM/HgeNApY9jUEP/VkCQ1i9t88NzMTYvVkc2FAFy1Ku2QE3AY Or7Qieco/31KcLE0bhcW+k4cFiU57MOd+rh3WpqrDdbsi0DwJX1yvQ9z2b77wmin mrwuIAgn7TiwiLPLw499MEiNOeUFvKXKpBWrxK1e/e+0d2DkPOCeTXxinHFr9kRP QLFmn24ndgJlXcKE11fVOU4tUTacTKelPs85mc9WM1gLbs8bgIYy6BCpCbX+T7us MMHUlP19ObnhQAm77x6V29CVkfQNCTd2DhZA07GIAlKs82HrpswIxst1Jnop6Jxw RECFaC5WBY3as5WzUPOX =DjQ7 -----END PGP SIGNATURE----- --Signature=_Tue__22_Sep_2009_15_49_19_+0400_tyLY3UbXyPCH787L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090922154919.55abf2f1.stas>