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