fb_generic: remove all hardware specific code

This commit is contained in:
Stefan Seyfried
2017-02-05 15:22:22 +01:00
committed by M. Liebmann
parent 3c381cd53b
commit 3f63080454
2 changed files with 3 additions and 372 deletions

View File

@@ -123,11 +123,6 @@ class CFrameBuffer : public sigc::trackable
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 */
#endif /* USE_NEVIS_GXA */
bool locked;
std::map<std::string, rawIcon> icon_cache;
int cache_size;
@@ -167,9 +162,6 @@ class CFrameBuffer : public sigc::trackable
virtual ~CFrameBuffer();
static CFrameBuffer* getInstance();
#ifdef USE_NEVIS_GXA
void setupGXA(void);
#endif
virtual void init(const char * const fbDevice = "/dev/fb0");
virtual int setMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);