svn commit: r197330 - in head: sys/dev/kbd sys/sys usr.sbin/kbdcontrol

Stanislav Sedov stas at FreeBSD.org
Tue Sep 22 11:49:27 UTC 2009


On Sat, 19 Sep 2009 17:56:26 +0000 (UTC)
Ed Schouten <ed at FreeBSD.org> mentioned:

> 
> Modified: head/sys/sys/kbio.h
> ==============================================================================
> --- 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
>  
>  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!

-- 
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090922/db227e07/attachment.pgp


More information about the svn-src-all mailing list