Current Path : /sys/boot/i386/common/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/boot/i386/common/cons.h |
/*- * Copyright (c) 1998 Robert Nordier * All rights reserved. * * Redistribution and use in source and binary forms are freely * permitted provided that the above copyright notice and this * paragraph and the following disclaimer are duplicated in all * such forms. * * This software is provided "AS IS" and without any express or * implied warranties, including, without limitation, the implied * warranties of merchantability and fitness for a particular * purpose. * * $FreeBSD: release/9.1.0/sys/boot/i386/common/cons.h 213136 2010-09-24 19:49:12Z pjd $ */ #ifndef _CONS_H_ #define _CONS_H_ #define IO_KEYBOARD 1 #define IO_SERIAL 2 extern uint8_t ioctrl; void putc(int c); void xputc(int c); void putchar(int c); int getc(int fn); int xgetc(int fn); int keyhit(unsigned int secs); void getstr(char *cmdstr, size_t cmdstrsize); #endif /* !_CONS_H_ */