Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 23:57:19 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        John Hay <jhay@mikom.csir.co.za>, FreeBSD-hackers <hackers@FreeBSD.ORG>, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: kld screensavers 
Message-ID:  <199810291457.XAA12116@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Thu, 29 Oct 1998 10:33:47 GMT." <Pine.BSF.4.01.9810291027500.366-100000@herring.nlsystems.com> 
References:  <Pine.BSF.4.01.9810291027500.366-100000@herring.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>It looks about right and SI_SUB_PSEUDO is sufficiently late that it
>shouldn't disturb anything.  Any time after SI_SUB_CONFIGURE should work I
>think.
>
>It would be nice if the add_scrn_saver/remove_scrn_saver goop was factored
>into a generic module event handler which can be used by all screen
>savers.  Have a look at the CDEV_MODULE #define in sys/conf.h for a
>possible way of doing this.
>
>If the generic module handler chains onto an optional user-supplied
>handler, then extra initialisation (allocating message in this case) can
>be done by each saver without repeating the registration code.

You mean something like this?

1. Define generic_screen_saver_module_handler() in syscons.c or somewhere.
2. Each screen saver module define its own event handler.  It will call
   the generic handler first and then do its own extra house keeping.

Kazu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810291457.XAA12116>