=================================================================== RCS file: /cvs/funnyos/dev/fcons/fconsvar.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- funnyos/dev/fcons/fconsvar.h 2007/10/16 21:51:32 1.4 +++ funnyos/dev/fcons/fconsvar.h 2007/10/16 22:04:52 1.5 @@ -1,5 +1,5 @@ /* - * $Id: fconsvar.h,v 1.4 2007/10/16 20:51:32 init Exp $ + * $Id: fconsvar.h,v 1.5 2007/10/16 21:04:52 init Exp $ */ #ifndef _DEV_FCONS_FCONSVAR_H #define _DEV_FCONS_FCONSVAR_H @@ -9,19 +9,20 @@ #define NFCONS 1 -struct fcons_devdata { - /* current cursor position */ - uint8_t currow; - uint8_t curcol; - -}; - - struct fcons_handle { void *fh_ownerdd; /* similar to bh_ownerdd in bus_handle; XXX kill this cause it is ugly */ char (*getc)(void *); void (*putc)(void *, char); +}; + + +struct fcons_dd { + /* current cursor position */ + uint8_t currow; + uint8_t curcol; + + struct fcons_handle fd_fh; };