ns16550.h revision 1.5
11.5Stsutsui/*	$NetBSD: ns16550.h,v 1.5 2008/04/29 15:24:50 tsutsui Exp $	*/
21.1Scdi
31.1Scdi/*-
41.5Stsutsui * Copyright (c) 2008 Izumi Tsutsui.  All rights reserved.
51.1Scdi *
61.1Scdi * Redistribution and use in source and binary forms, with or without
71.1Scdi * modification, are permitted provided that the following conditions
81.1Scdi * are met:
91.1Scdi * 1. Redistributions of source code must retain the above copyright
101.1Scdi *    notice, this list of conditions and the following disclaimer.
111.1Scdi * 2. Redistributions in binary form must reproduce the above copyright
121.1Scdi *    notice, this list of conditions and the following disclaimer in the
131.1Scdi *    documentation and/or other materials provided with the distribution.
141.1Scdi *
151.1Scdi * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
161.1Scdi * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
171.1Scdi * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
181.1Scdi * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
191.1Scdi * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
201.1Scdi * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
211.1Scdi * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
221.1Scdi * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
231.5Stsutsui * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
241.5Stsutsui * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
251.1Scdi */
261.1Scdi
271.1Scdi#ifndef COMPROBE
281.1Scdi#define COMPROBE 0xa020001c
291.1Scdi#endif
301.1Scdi
311.5Stsutsuivoid *com_init(int, int);
321.5Stsutsuivoid com_putc(void *, int);
331.5Stsutsuiint com_getc(void *);
341.5Stsutsuiint com_scankbd(void *);
35