get physical address from framebuffer device
[enigma2.git] / lib / gdi / fb.h
index fa4a482..5447380 100644 (file)
@@ -17,6 +17,7 @@ class fbClass
 
        int m_manual_blit;
        int m_number_of_pages;
+       int m_phys_mem;
 #ifdef SWIG
        fbClass(const char *fb="/dev/fb/0");
        ~fbClass();
@@ -32,6 +33,8 @@ public:
        
        int getNumPages() { return m_number_of_pages; }
        
+       unsigned long getPhysAddr() { return m_phys_mem; }
+       
        int setOffset(int off);
        int waitVSync();
        void blit();