From owner-svn-src-all@FreeBSD.ORG Tue Sep 22 11:49:27 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 337901065694; Tue, 22 Sep 2009 11:49:27 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id D919E8FC0A; Tue, 22 Sep 2009 11:49:26 +0000 (UTC) Received: from stasss.yandex.ru (dhcp170-227-red.yandex.net [95.108.170.227]) by mx0.deglitch.com (Postfix) with ESMTPSA id 0B3858FC45; Tue, 22 Sep 2009 15:49:25 +0400 (MSD) Date: Tue, 22 Sep 2009 15:49:19 +0400 From: Stanislav Sedov To: Ed Schouten Message-Id: <20090922154919.55abf2f1.stas@FreeBSD.org> In-Reply-To: <200909191756.n8JHuQCq031719@svn.freebsd.org> References: <200909191756.n8JHuQCq031719@svn.freebsd.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__22_Sep_2009_15_49_19_+0400_tyLY3UbXyPCH787L" 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 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 11:49:27 -0000 --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 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--