/*-1* Copyright (c) 1998 Robert Nordier2* All rights reserved.3*4* Redistribution and use in source and binary forms are freely5* permitted provided that the above copyright notice and this6* paragraph and the following disclaimer are duplicated in all7* such forms.8*9* This software is provided "AS IS" and without any express or10* implied warranties, including, without limitation, the implied11* warranties of merchantability and fitness for a particular12* purpose.13*/1415#ifndef _CONS_H_16#define _CONS_H_1718#define IO_KEYBOARD 119#define IO_SERIAL 22021extern uint8_t ioctrl;2223void putc(int c);24void xputc(int c);25void putchar(int c);26int getc(int fn);27int xgetc(int fn);28int getchar(void);29int keyhit(unsigned int secs);30void getstr(char *cmdstr, size_t cmdstrsize);3132#endif /* !_CONS_H_ */333435