wdenk | 012771d | 2002-03-08 21:31:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2001 |
| 3 | * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 012771d | 2002-03-08 21:31:05 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _KBD_H_ |
| 9 | #define _KBD_H_ |
| 10 | |
Simon Glass | 709ea54 | 2014-07-23 06:54:59 -0600 | [diff] [blame] | 11 | struct stdio_dev; |
| 12 | |
| 13 | int kbd_testc(struct stdio_dev *sdev); |
| 14 | int kbd_getc(struct stdio_dev *sdev); |
wdenk | 012771d | 2002-03-08 21:31:05 +0000 | [diff] [blame] | 15 | extern void kbd_interrupt(void); |
| 16 | extern char *kbd_initialize(void); |
| 17 | |
| 18 | unsigned char kbd_is_init(void); |
| 19 | #define KBD_INTERRUPT 1 |
| 20 | #endif |