Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2e782efb0876214c77a48e8e67248125f1607c1
refs/heads/master: ac50ab3e45436900b5d73edd0c6b0744af560535
33 changes: 33 additions & 0 deletions trunk/include/asm-sparc/vga.h
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

0 comments on commit 9a47646

Please sign in to comment.