comparison src/video/fbcon/SDL_fbvideo.c @ 1373:04499d3e1b6b

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 19 Feb 2006 16:42:18 +0000
parents 19418e4422cb
children d910939febfa
comparison
equal deleted inserted replaced
1372:3e171fa5f4df 1373:04499d3e1b6b
27 #include <fcntl.h> 27 #include <fcntl.h>
28 #include <unistd.h> 28 #include <unistd.h>
29 #include <sys/ioctl.h> 29 #include <sys/ioctl.h>
30 #include <sys/mman.h> 30 #include <sys/mman.h>
31 #include <asm/page.h> /* For definition of PAGE_SIZE */ 31 #include <asm/page.h> /* For definition of PAGE_SIZE */
32 #include <sys/io.h> /* For ioperm() */
33 32
34 #include "SDL_video.h" 33 #include "SDL_video.h"
35 #include "SDL_mouse.h" 34 #include "SDL_mouse.h"
36 #include "../SDL_sysvideo.h" 35 #include "../SDL_sysvideo.h"
37 #include "../SDL_pixels_c.h" 36 #include "../SDL_pixels_c.h"
45 44
46 /*#define FBCON_DEBUG*/ 45 /*#define FBCON_DEBUG*/
47 46
48 #if defined(i386) && defined(FB_TYPE_VGA_PLANES) 47 #if defined(i386) && defined(FB_TYPE_VGA_PLANES)
49 #define VGA16_FBCON_SUPPORT 48 #define VGA16_FBCON_SUPPORT
49 #include <sys/io.h> /* For ioperm() */
50 #ifndef FB_AUX_VGA_PLANES_VGA4 50 #ifndef FB_AUX_VGA_PLANES_VGA4
51 #define FB_AUX_VGA_PLANES_VGA4 0 51 #define FB_AUX_VGA_PLANES_VGA4 0
52 #endif 52 #endif
53 /* 53 /*
54 static inline void outb (unsigned char value, unsigned short port) 54 static inline void outb (unsigned char value, unsigned short port)