mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Layered  modularization
@ 2001-12-05 15:59 Michael Zhu
  2001-12-05 16:25 ` 2.5.1pre5 vt_kern.h small patch Kirk Reiser
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Zhu @ 2001-12-05 15:59 UTC (permalink / raw)
  To: linux-kernel

Hi, does anyone know how to implement a layered
modularization in Linux?

I've read Alessandro Rubini's book "Linux device
driver". In Chapter 2 of his book he mentioned some
information about stacked modules. But not enough to
develop a Layered modularization. 

Now I need to write a hook module which will hook the
reading/writing operation of /dev/fd0. That means I
want to make a intermediate driver which layers above
or below the driver of /dev/fd0. 

It just like a filter driver in Windows platform.

Any idea will be appreciated.

Best regards,

Michael

______________________________________________________ 
Send your holiday cheer with http://greetings.yahoo.ca

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 2.5.1pre5 vt_kern.h small patch
  2001-12-05 15:59 Layered modularization Michael Zhu
@ 2001-12-05 16:25 ` Kirk Reiser
  0 siblings, 0 replies; 2+ messages in thread
From: Kirk Reiser @ 2001-12-05 16:25 UTC (permalink / raw)
  To: linux-kernel

--- linux/include/linux/vt_kern.h~	Wed Dec  5 10:12:17 2001
+++ linux/include/linux/vt_kern.h	Wed Dec  5 10:45:20 2001
@@ -7,6 +7,7 @@
  */
 
 #include <linux/config.h>
+#include <linux/tty.h> /* needed for MAX_NR_CONSOLES */
 #include <linux/vt.h>
 #include <linux/kd.h>
 

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-05 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-05 15:59 Layered modularization Michael Zhu
2001-12-05 16:25 ` 2.5.1pre5 vt_kern.h small patch Kirk Reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®