version 1.35.2.2, 2006/05/24 10:58:31 |
version 1.36, 2006/04/05 15:18:25 |
Line 111 struct wsdisplay_char; |
|
Line 111 struct wsdisplay_char; |
|
* with these functions, which is passed to them when they are invoked. |
* with these functions, which is passed to them when they are invoked. |
*/ |
*/ |
struct wsdisplay_accessops { |
struct wsdisplay_accessops { |
int (*ioctl)(void *v, void *scr, u_long cmd, caddr_t data, int flag, |
int (*ioctl)(void *v, u_long cmd, caddr_t data, int flag, |
struct lwp *l); |
struct lwp *l); |
paddr_t (*mmap)(void *v, void *scr, off_t off, int prot); |
paddr_t (*mmap)(void *v, off_t off, int prot); |
int (*alloc_screen)(void *, const struct wsscreen_descr *, |
int (*alloc_screen)(void *, const struct wsscreen_descr *, |
void **, int *, int *, long *); |
void **, int *, int *, long *); |
void (*free_screen)(void *, void *); |
void (*free_screen)(void *, void *); |
Line 121 struct wsdisplay_accessops { |
|
Line 121 struct wsdisplay_accessops { |
|
void (*) (void *, int, int), void *); |
void (*) (void *, int, int), void *); |
int (*load_font)(void *, void *, struct wsdisplay_font *); |
int (*load_font)(void *, void *, struct wsdisplay_font *); |
void (*pollc)(void *, int); |
void (*pollc)(void *, int); |
|
int (*getwschar)(void *, struct wsdisplay_char *); |
|
int (*putwschar)(void *, struct wsdisplay_char *); |
void (*scroll)(void *, void *, int); |
void (*scroll)(void *, void *, int); |
}; |
}; |
|
|
Line 229 const struct wsscreen_descr * |
|
Line 231 const struct wsscreen_descr * |
|
#if defined(_KERNEL) |
#if defined(_KERNEL) |
# if defined(_KERNEL_OPT) |
# if defined(_KERNEL_OPT) |
# include "opt_wsmsgattrs.h" |
# include "opt_wsmsgattrs.h" |
|
# include "opt_wsdisplay_border.h" |
# endif |
# endif |
# if !defined(WS_DEFAULT_FG) |
# if !defined(WS_DEFAULT_FG) |
# define WS_DEFAULT_FG WSCOL_WHITE |
# define WS_DEFAULT_FG WSCOL_WHITE |