-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 25594 b: refs/heads/master c: ac50ab3 h: refs/heads/master v: v3
- Loading branch information
Andrew Morton
authored and
Linus Torvalds
committed
Apr 11, 2006
1 parent
38dc61b
commit 9a47646
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: f2e782efb0876214c77a48e8e67248125f1607c1 | ||
refs/heads/master: ac50ab3e45436900b5d73edd0c6b0744af560535 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Access to VGA videoram | ||
* | ||
* (c) 1998 Martin Mares <mj@ucw.cz> | ||
*/ | ||
|
||
#ifndef _LINUX_ASM_VGA_H_ | ||
#define _LINUX_ASM_VGA_H_ | ||
|
||
#include <asm/types.h> | ||
|
||
#define VT_BUF_HAVE_RW | ||
|
||
#undef scr_writew | ||
#undef scr_readw | ||
|
||
static inline void scr_writew(u16 val, u16 *addr) | ||
{ | ||
BUG_ON((long) addr >= 0); | ||
|
||
*addr = val; | ||
} | ||
|
||
static inline u16 scr_readw(const u16 *addr) | ||
{ | ||
BUG_ON((long) addr >= 0); | ||
|
||
return *addr; | ||
} | ||
|
||
#define VGA_MAP_MEM(x,s) (x) | ||
|
||
#endif |