framebuffer: make setupGXA public

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2040 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2012-01-08 10:27:36 +00:00
parent 6bca015604
commit 9c0924e80f

View File

@@ -109,7 +109,6 @@ class CFrameBuffer
unsigned int smem_start; /* as aquired from the fbdev, the framebuffers physical start address */ 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 */ volatile uint8_t *gxa_base; /* base address for the GXA's register access */
void setupGXA(void);
#endif /* USE_NEVIS_GXA */ #endif /* USE_NEVIS_GXA */
bool locked; bool locked;
std::map<std::string, rawIcon> icon_cache; std::map<std::string, rawIcon> icon_cache;
@@ -122,6 +121,9 @@ class CFrameBuffer
~CFrameBuffer(); ~CFrameBuffer();
static CFrameBuffer* getInstance(); static CFrameBuffer* getInstance();
#ifdef USE_NEVIS_GXA
void setupGXA(void);
#endif
void init(const char * const fbDevice = "/dev/fb/0"); void init(const char * const fbDevice = "/dev/fb/0");
int setMode(unsigned int xRes, unsigned int yRes, unsigned int bpp); int setMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);