⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i8042vga.c

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 C
字号:
/* *  This file contains the TTY driver for the VGA/i8042 console * *  COPYRIGHT (c) 1998 by Radstone Technology * * * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU. * * You are hereby granted permission to use, copy, modify, and distribute * this file, provided that this notice, plus the above copyright notice * and disclaimer, appears in all copies. Radstone Technology will provide * no support for this code. * *  This driver uses the termios pseudo driver. * *  $Id: i8042vga.c,v 1.1 1999/02/18 16:47:10 joel Exp $ */#include <rtems.h>#include <bsp.h>#include <rtems/libio.h>#include "console.h"#include "vga_p.h"#include "i8042_p.h"console_fns i8042vga_fns ={	i8042_probe,			/* deviceProbe */	NULL,				/* deviceFirstOpen */	NULL,				/* deviceLastClose */#if CONSOLE_USE_INTERRUPTS	NULL,				/* deviceRead */	vga_write_support,		/* deviceWrite */	i8042_initialize_interrupts,	/* deviceInitialize */#else	i8042_inbyte_nonblocking_polled,	/* deviceRead */	vga_write_support,		/* deviceWrite */	i8042_init,			/* deviceInitialize */#endif	vga_write,			/* deviceWritePolled */	FALSE,				/* deviceOutputUsesInterrupts */};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -