OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [ppcn_60x/] [console/] [i8042vga.c] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  This file contains the TTY driver for the VGA/i8042 console
3
 *
4
 *  COPYRIGHT (c) 1998 by Radstone Technology
5
 *
6
 *
7
 * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
8
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
9
 * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
10
 * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
11
 *
12
 * You are hereby granted permission to use, copy, modify, and distribute
13
 * this file, provided that this notice, plus the above copyright notice
14
 * and disclaimer, appears in all copies. Radstone Technology will provide
15
 * no support for this code.
16
 *
17
 *  This driver uses the termios pseudo driver.
18
 *
19
 *  $Id: i8042vga.c,v 1.2 2001-09-27 12:00:49 chris Exp $
20
 */
21
 
22
#include <rtems.h>
23
#include <bsp.h>
24
#include <rtems/libio.h>
25
 
26
#include "console.h"
27
#include "vga_p.h"
28
#include "i8042_p.h"
29
 
30
console_fns i8042vga_fns =
31
{
32
        i8042_probe,                    /* deviceProbe */
33
        NULL,                           /* deviceFirstOpen */
34
        NULL,                           /* deviceLastClose */
35
#if CONSOLE_USE_INTERRUPTS
36
        NULL,                           /* deviceRead */
37
        vga_write_support,              /* deviceWrite */
38
        i8042_initialize_interrupts,    /* deviceInitialize */
39
#else
40
        i8042_inbyte_nonblocking_polled,        /* deviceRead */
41
        vga_write_support,              /* deviceWrite */
42
        i8042_init,                     /* deviceInitialize */
43
#endif
44
        vga_write,                      /* deviceWritePolled */
45
        FALSE,                          /* deviceOutputUsesInterrupts */
46
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.