Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
vga.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- #ifndef _ASM_IA64_VGA_H
- #define _ASM_IA64_VGA_H
- /*
- * Access to VGA videoram
- *
- * (c) 1998 Martin Mares <mj@ucw.cz>
- * (c) 1999 Asit Mallick <asit.k.mallick@intel.com>
- * (c) 1999 Don Dugger <don.dugger@intel.com>
- * Copyright (C) 2002 Hewlett-Packard Co
- */
- /*
- * 2002/07/19 davidm@hpl.hp.com Access frame-buffer memory via readX/writeX.
- */
- #include <asm/io.h>
- #define VT_BUF_HAVE_RW
- #define VGA_MAP_MEM(x) ((unsigned long) ioremap((x), 0))
- #define vga_readb __raw_readb
- #define vga_writeb __raw_writeb
- extern inline void
- scr_writew (u16 val, volatile u16 *addr)
- {
- /* Note: ADDR may point to normal memory. That's OK on ia64. */
- __raw_writew(val, (unsigned long) addr);
- }
- extern inline u16
- scr_readw (volatile const u16 *addr)
- {
- /* Note: ADDR may point to normal memory. That's OK on ia64. */
- return __raw_readw((unsigned long) addr);
- }
- #endif /* _ASM_IA64_VGA_H */