Deleted Added
full compact
syscons.h (48104) syscons.h (48189)
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.47 1999/04/12 13:34:56 des Exp $
28 * $Id: syscons.h,v 1.48 1999/06/22 14:13:32 yokota Exp $
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

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

491#define sc_vtb_rows(vtb) ((vtb)->vtb_rows)
492
493void sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to,
494 int count);
495void sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2,
496 int count);
497void sc_vtb_seek(sc_vtb_t *vtb, int pos);
498void sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr);
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

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

491#define sc_vtb_rows(vtb) ((vtb)->vtb_rows)
492
493void sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to,
494 int count);
495void sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2,
496 int count);
497void sc_vtb_seek(sc_vtb_t *vtb, int pos);
498void sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr);
499void sc_vtb_move(sc_vtb_t *vtb, int from, int to, int count);
499void sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr);
500void sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr);
501
502/* machine dependent functions */
503int sc_max_unit(void);
504sc_softc_t *sc_get_softc(int unit, int flags);
505sc_softc_t *sc_find_softc(struct video_adapter *adp, struct keyboard *kbd);
506int sc_get_cons_priority(int *unit, int *flags);
507void sc_get_bios_values(bios_values_t *values);
508int sc_tone(int herz);
509
510#endif /* !_DEV_SYSCONS_SYSCONS_H_ */
500void sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr);
501void sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr);
502
503/* machine dependent functions */
504int sc_max_unit(void);
505sc_softc_t *sc_get_softc(int unit, int flags);
506sc_softc_t *sc_find_softc(struct video_adapter *adp, struct keyboard *kbd);
507int sc_get_cons_priority(int *unit, int *flags);
508void sc_get_bios_values(bios_values_t *values);
509int sc_tone(int herz);
510
511#endif /* !_DEV_SYSCONS_SYSCONS_H_ */