[BACK]Return to fconsvar.h CVS log [TXT][DIR] Up to [local] / funnyos / dev / fcons

Diff for /funnyos/dev/fcons/fconsvar.h between version 1.3 and 1.8

version 1.3, 2007/10/16 21:49:40 version 1.8, 2007/10/29 12:27:19
Line 7 
Line 7 
 #define FCONS_WIDTH     80  #define FCONS_WIDTH     80
 #define FCONS_HEIGHT    25  #define FCONS_HEIGHT    25
   
 #define NFCONS 1  struct fcons_handle {
           void    *fh_ownerdd;    /* similar to bh_ownerdd in bus_handle; XXX kill this cause it is ugly */
   
 struct fcons_devdata {          char    (*getc)(void *);
         /* current cursor position */          void    (*putc)(void *, char);
         uint8_t currow;  
         uint8_t curcol;  
   
 };  };
   
   
 struct fcons_handle {  struct fcons_dd {
         void    *fh_ownerdd;    /* similar to bh_ownerdd in bus_handle; XXX kill this cause it is ugly */          /* current cursor position */
           uint8_t         fd_currow;
           uint8_t         fd_curcol;
   
         char    (*getc)(struct device *);          struct fcons_handle *fd_fh;
         void    (*putc)(struct device *, char);  
 };  };
   
   
 int     fcons_devctl(struct device *devp, uint8_t ctl, void *data);  int     fcons_devctl(struct device *devp, uint8_t ctl, void *data);
 char    fcons_getchar(struct device *devp);  char    fcons_getchar(void *ddp);
 void    fcons_putchar(struct device *devp, char ch);  void    fcons_putchar(void *ddp, char ch);
   
 /* XXX */  
 //#define putchar(x)    fcons_putchar()  
   
   
 /* devctl stuff */  /* devctl stuff */
 #define DCFCONS_GETCURROW       0  #define DCFCONS_GETCURROW       0

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

CVSweb