New log driver; buffers messages and makes them available to userland.

Added some fields in the generic device table to support this driver
using libdriver. Updated other drivers to fill these fields with nops
and NULLs.
This commit is contained in:
Ben Gras
2005-07-08 17:23:44 +00:00
parent c021dafe27
commit 640eb73ca2
8 changed files with 546 additions and 6 deletions
+6
View File
@@ -39,6 +39,9 @@ struct driver {
_PROTOTYPE( void (*dr_stop), (struct driver *dp) );
_PROTOTYPE( void (*dr_alarm), (struct driver *dp) );
_PROTOTYPE( void (*dr_fkey), (struct driver *dp, message *m_ptr) );
_PROTOTYPE( int (*dr_cancel), (struct driver *dp, message *m_ptr) );
_PROTOTYPE( int (*dr_select), (struct driver *dp, message *m_ptr) );
_PROTOTYPE( int (*dr_other), (struct driver *dp, message *m_ptr) );
};
#if (CHIP == INTEL)
@@ -66,6 +69,9 @@ _PROTOTYPE( void nop_cleanup, (void) );
_PROTOTYPE( void nop_task, (void) );
_PROTOTYPE( void nop_stop, (struct driver *dp) );
_PROTOTYPE( void nop_alarm, (struct driver *dp) );
_PROTOTYPE( void nop_fkey, (struct driver *dp, message *m_ptr) );
_PROTOTYPE( int nop_cancel, (struct driver *dp, message *m_ptr) );
_PROTOTYPE( int nop_select, (struct driver *dp, message *m_ptr) );
_PROTOTYPE( int do_diocntl, (struct driver *dp, message *m_ptr) );
/* Parameters for the disk drive. */