Deleted Added
full compact
syscons.h (42504) syscons.h (42831)
1/*-
2 * Copyright (c) 1995-1998 S�ren Schmidt
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1995-1998 S�ren Schmidt
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $Id: syscons.h,v 1.44 1998/10/01 11:39:18 yokota Exp $
28 * $Id: syscons.h,v 1.45 1999/01/11 03:18:29 yokota Exp $
29 */
30
31#ifndef _DEV_SYSCONS_SYSCONS_H_
32#define _DEV_SYSCONS_SYSCONS_H_
33
34/* vm things */
35#define ISMAPPED(pa, width) \
36 (((pa) <= (u_long)0x1000 - (width)) \

--- 133 unchanged lines hidden (view full) ---

170 pid_t pid; /* pid of controlling proc */
171 struct proc *proc; /* proc* of controlling proc */
172 struct vt_mode smode; /* switch mode */
173 u_short *history; /* circular history buffer */
174 u_short *history_head; /* current head position */
175 u_short *history_pos; /* position shown on screen */
176 u_short *history_save; /* save area index */
177 int history_size; /* size of history buffer */
29 */
30
31#ifndef _DEV_SYSCONS_SYSCONS_H_
32#define _DEV_SYSCONS_SYSCONS_H_
33
34/* vm things */
35#define ISMAPPED(pa, width) \
36 (((pa) <= (u_long)0x1000 - (width)) \

--- 133 unchanged lines hidden (view full) ---

170 pid_t pid; /* pid of controlling proc */
171 struct proc *proc; /* proc* of controlling proc */
172 struct vt_mode smode; /* switch mode */
173 u_short *history; /* circular history buffer */
174 u_short *history_head; /* current head position */
175 u_short *history_pos; /* position shown on screen */
176 u_short *history_save; /* save area index */
177 int history_size; /* size of history buffer */
178#ifdef __i386__
178 struct apmhook r_hook; /* reconfiguration support */
179 struct apmhook r_hook; /* reconfiguration support */
180#endif
179 int splash_save_mode; /* saved mode for splash screen */
180 int splash_save_status; /* saved status for splash screen */
181} scr_stat;
182
183typedef struct default_attr {
184 int std_color; /* normal hardware color */
185 int rev_color; /* reverse hardware color */
186} default_attr;

--- 10 unchanged lines hidden (view full) ---

197
198#define ISFONTAVAIL(af) ((af) & V_ADP_FONT)
199#define ISMOUSEAVAIL(af) ((af) & V_ADP_FONT)
200#define ISPALAVAIL(af) ((af) & V_ADP_PALETTE)
201
202/* misc prototypes used by different syscons related LKM's */
203
204/* syscons.c */
181 int splash_save_mode; /* saved mode for splash screen */
182 int splash_save_status; /* saved status for splash screen */
183} scr_stat;
184
185typedef struct default_attr {
186 int std_color; /* normal hardware color */
187 int rev_color; /* reverse hardware color */
188} default_attr;

--- 10 unchanged lines hidden (view full) ---

199
200#define ISFONTAVAIL(af) ((af) & V_ADP_FONT)
201#define ISMOUSEAVAIL(af) ((af) & V_ADP_FONT)
202#define ISPALAVAIL(af) ((af) & V_ADP_PALETTE)
203
204/* misc prototypes used by different syscons related LKM's */
205
206/* syscons.c */
207int sc_probe_unit(int unit, int flags);
208int sc_attach_unit(int unit, int flags);
209
205extern int (*sc_user_ioctl)(dev_t dev, u_long cmd, caddr_t data, int flag,
206 struct proc *p);
207
208int set_mode(scr_stat *scp);
209scr_stat *sc_get_scr_stat(dev_t dev);
210
211void copy_font(scr_stat *scp, int operation, int font_size, u_char *font_image);
212void set_border(scr_stat *scp, int color);

--- 24 unchanged lines hidden ---
210extern int (*sc_user_ioctl)(dev_t dev, u_long cmd, caddr_t data, int flag,
211 struct proc *p);
212
213int set_mode(scr_stat *scp);
214scr_stat *sc_get_scr_stat(dev_t dev);
215
216void copy_font(scr_stat *scp, int operation, int font_size, u_char *font_image);
217void set_border(scr_stat *scp, int color);

--- 24 unchanged lines hidden ---