version 1.2, 2007/10/16 21:37:01 |
version 1.5, 2007/10/16 22:04:52 |
|
|
|
|
#define NFCONS 1 |
#define NFCONS 1 |
|
|
struct fcons_devdata { |
struct fcons_handle { |
/* current cursor position */ |
void *fh_ownerdd; /* similar to bh_ownerdd in bus_handle; XXX kill this cause it is ugly */ |
uint8_t currow; |
|
uint8_t curcol; |
|
|
|
|
char (*getc)(void *); |
|
void (*putc)(void *, char); |
}; |
}; |
|
|
|
|
struct fcons_handle { |
struct fcons_dd { |
char (*getc)(struct device *); |
/* current cursor position */ |
void (*putc)(struct device *, char); |
uint8_t currow; |
|
uint8_t curcol; |
|
|
|
struct fcons_handle fd_fh; |
}; |
}; |
|
|
|
|