1 /* 2 * Copyright (c) 1998 Robert Nordier 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are freely 6 * permitted provided that the above copyright notice and this 7 * paragraph and the following disclaimer are duplicated in all 8 * such forms. 9 * 10 * This software is provided "AS IS" and without any express or 11 * implied warranties, including, without limitation, the implied 12 * warranties of merchantability and fitness for a particular 13 * purpose. 14 */ 15 16 /* 17 * $FreeBSD: src/sys/boot/i386/boot2/lib.h,v 1.2 1999/08/28 00:40:02 peter Exp $ 18 * $DragonFly: src/sys/boot/pc32/boot2/lib.h,v 1.4 2004/06/27 08:00:46 dillon Exp $ 19 */ 20 21 int sio_init(void); /* returns non-zero if init failed */ 22 void sio_flush(void); 23 void sio_putc(int); 24 int sio_getc(void); 25 int sio_ischar(void); 26