Deleted Added
full compact
syscons.h (146477) syscons.h (146736)
1/*-
2 * Copyright (c) 1995-1998 S�ren Schmidt
3 * All rights reserved.
4 *
1/*-
2 * Copyright (c) 1995-1998 S�ren Schmidt
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The DragonFly Project
6 * by Sascha Wildner <saw@online.de>
7 *
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
9 * notice, this list of conditions and the following disclaimer,
10 * without modification, immediately at the beginning of the file.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the

--- 7 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 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer,
13 * without modification, immediately at the beginning of the file.
14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the

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

23 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
28 * $FreeBSD: head/sys/dev/syscons/syscons.h 146477 2005-05-21 20:29:58Z marius $
31 * $FreeBSD: head/sys/dev/syscons/syscons.h 146736 2005-05-29 08:43:44Z delphij $
29 */
30
31#ifndef _DEV_SYSCONS_SYSCONS_H_
32#define _DEV_SYSCONS_SYSCONS_H_
33
34/* machine-dependent part of the header */
35
36#ifdef PC98

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

408 "scterm-" #name, \
409 scterm_##name##_event, \
410 NULL, \
411 }; \
412 DECLARE_MODULE(scterm_##name, scterm_##name##_mod, \
413 SI_SUB_DRIVERS, SI_ORDER_MIDDLE)
414
415/* renderer function table */
32 */
33
34#ifndef _DEV_SYSCONS_SYSCONS_H_
35#define _DEV_SYSCONS_SYSCONS_H_
36
37/* machine-dependent part of the header */
38
39#ifdef PC98

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

411 "scterm-" #name, \
412 scterm_##name##_event, \
413 NULL, \
414 }; \
415 DECLARE_MODULE(scterm_##name, scterm_##name##_mod, \
416 SI_SUB_DRIVERS, SI_ORDER_MIDDLE)
417
418/* renderer function table */
419typedef void vr_init_t(scr_stat *scp);
416typedef void vr_clear_t(scr_stat *scp, int c, int attr);
417typedef void vr_draw_border_t(scr_stat *scp, int color);
418typedef void vr_draw_t(scr_stat *scp, int from, int count, int flip);
419typedef void vr_set_cursor_t(scr_stat *scp, int base, int height, int blink);
420typedef void vr_draw_cursor_t(scr_stat *scp, int at, int blink,
421 int on, int flip);
422typedef void vr_blink_cursor_t(scr_stat *scp, int at, int flip);
423typedef void vr_set_mouse_t(scr_stat *scp);
424typedef void vr_draw_mouse_t(scr_stat *scp, int x, int y, int on);
425
426typedef struct sc_rndr_sw {
420typedef void vr_clear_t(scr_stat *scp, int c, int attr);
421typedef void vr_draw_border_t(scr_stat *scp, int color);
422typedef void vr_draw_t(scr_stat *scp, int from, int count, int flip);
423typedef void vr_set_cursor_t(scr_stat *scp, int base, int height, int blink);
424typedef void vr_draw_cursor_t(scr_stat *scp, int at, int blink,
425 int on, int flip);
426typedef void vr_blink_cursor_t(scr_stat *scp, int at, int flip);
427typedef void vr_set_mouse_t(scr_stat *scp);
428typedef void vr_draw_mouse_t(scr_stat *scp, int x, int y, int on);
429
430typedef struct sc_rndr_sw {
431 vr_init_t *init;
427 vr_clear_t *clear;
428 vr_draw_border_t *draw_border;
429 vr_draw_t *draw;
430 vr_set_cursor_t *set_cursor;
431 vr_draw_cursor_t *draw_cursor;
432 vr_blink_cursor_t *blink_cursor;
433 vr_set_mouse_t *set_mouse;
434 vr_draw_mouse_t *draw_mouse;

--- 228 unchanged lines hidden ---
432 vr_clear_t *clear;
433 vr_draw_border_t *draw_border;
434 vr_draw_t *draw;
435 vr_set_cursor_t *set_cursor;
436 vr_draw_cursor_t *draw_cursor;
437 vr_blink_cursor_t *blink_cursor;
438 vr_set_mouse_t *set_mouse;
439 vr_draw_mouse_t *draw_mouse;

--- 228 unchanged lines hidden ---