/[nova]/nova/kern/module.h
ViewVC logotype

Diff of /nova/kern/module.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by jrydberg, Tue Feb 12 19:28:46 2002 UTC revision 1.2 by jrydberg, Wed Mar 27 23:21:54 2002 UTC
# Line 18  Foundation, Inc., 59 Temple Place - Suit Line 18  Foundation, Inc., 59 Temple Place - Suit
18  #ifndef _MODULE_H  #ifndef _MODULE_H
19  #define _MODULE_H 1  #define _MODULE_H 1
20    
 #include "proc.h"  
 #include "io-buf.h"  
 #include "io-uio.h"  
   
21  #define __need_size_t  #define __need_size_t
22  #include <stddef.h>  #include <stddef.h>
23    
24    struct io_uio;
25    struct io_buf;
26    struct proc;
27    
28  #define md_printhdr(MDD, UNIT, STREAM)                  \  #define md_printhdr(MDD, UNIT, STREAM)                  \
29  do                                                      \  do                                                      \
30    {                                                     \    {                                                     \
# Line 39  while (0) Line 39  while (0)
39    
40  struct cdev_ops  struct cdev_ops
41  {  {
42    int (*d_open) (dev_t dev);    int (*d_open) (dev_t dev, int flag, struct proc *proc);
43    int (*d_read) (dev_t dev, struct io_uio *uio, struct proc *p);    int (*d_read) (dev_t dev, struct io_uio *uio, struct proc *p);
44    int (*d_write) (dev_t dev, struct io_uio *uio, struct proc *p);    int (*d_write) (dev_t dev, struct io_uio *uio, struct proc *p);
45  };  };

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26