Go to the documentation of this file.
13 #ifndef _LINUX_VT_BUFFER_H_
14 #define _LINUX_VT_BUFFER_H_
17 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_MDA_CONSOLE)
21 #ifndef VT_BUF_HAVE_RW
22 #define scr_writew(val, addr) (*(addr) = (val))
23 #define scr_readw(addr) (*(addr))
24 #define scr_memcpyw(d, s, c) memcpy(d, s, c)
25 #define scr_memmovew(d, s, c) memmove(d, s, c)
26 #define VT_BUF_HAVE_MEMCPYW
27 #define VT_BUF_HAVE_MEMMOVEW
30 #ifndef VT_BUF_HAVE_MEMSETW
31 static inline void scr_memsetw(
u16 *
s,
u16 c,
unsigned int count)
39 #ifndef VT_BUF_HAVE_MEMCPYW
48 #ifndef VT_BUF_HAVE_MEMMOVEW