Fixes for GXA. Now it is possible use GXA without an active driver.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@639 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 3aaa5533cf
Author: nightshad <nightshad@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2010-06-24 (Thu, 24 Jun 2010)
This commit is contained in:
nightshad
2010-06-24 09:54:29 +00:00
parent 39cf7a203d
commit d56db657c3
2 changed files with 49 additions and 18 deletions

View File

@@ -105,16 +105,17 @@ class CFrameBuffer
struct vt_mode vt_mode;
bool active;
static void switch_signal (int);
fb_fix_screeninfo fix;
#ifdef USE_NEVIS_GXA
int devmem_fd; /* to access the GXA register we use /dev/mem */
unsigned int smem_start; /* as aquired from the fbdev, the framebuffers physical start address */
volatile uint8_t *gxa_base; /* base address for the GXA's register access */
void setupGXA(void);
#endif /* USE_NEVIS_GXA */
bool locked;
std::map<std::string, rawIcon> icon_cache;
int cache_size;
public:
fb_pixel_t realcolor[256];