From owner-cvs-sys Sun Dec 7 15:58:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05130 for cvs-sys-outgoing; Sun, 7 Dec 1997 15:58:45 -0800 (PST) (envelope-from owner-cvs-sys) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA05099; Sun, 7 Dec 1997 15:58:21 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: by outmail.utsunomiya-u.ac.jp id AA20724; Mon, 8 Dec 1997 08:54:25 +0900 Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id JAA28710; Mon, 8 Dec 1997 09:01:20 +0900 (JST) Message-Id: <199712080001.JAA28710@zodiac.mech.utsunomiya-u.ac.jp> To: Joao Carlos Mendes Luis Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org, hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/i386/include console.h mouse.h src/sys/i386/isa kbdio.h mse.c psm.c syscons.c In-Reply-To: Your message of "Sun, 07 Dec 1997 15:25:33 -0200." <199712071725.PAA17469@gaia.coppe.ufrj.br> References: <199712071725.PAA17469@gaia.coppe.ufrj.br> Date: Mon, 08 Dec 1997 09:01:19 +0900 From: Kazutaka YOKOTA Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >// - The `psm' driver is made to recognize various models of PS/2 mice >// and enable their extra features so that their additional buttons and >// wheel/roller are recognized. The name of the detected model will be >// printed at boot time. > >How much memory does this model info waste ? int*5 = 20 bytes >I don't like the ideia of using kernel memory (which cannot yet be >swapped out) for something almost useless. In general, I agree that the kernel shouldn't waste memory. But, the `psm' driver's info is NOT useless. I didn't add it just for fun. It is used by `moused' and possibly by the X server (I have contacted XFree86 people on this issue). Recent PS/2 mice with wheels and additional buttons use vairous proprietary data formats to report wheel/button events. Therefore it is essential to know which model of mice is attached to the system in order to decode mouse data. >This (and also the VGA type info) could be in some memory area that ~~~~~~~~~~~~~~~~~ Which info are you talking about? I don't think the console driver currently distinguishes VGA types. >could later be released for VM usage. Something like pre-alocated >VM pages, disposable after booting. > > Jonny Kazu