Subversion Repositories freemyipod

Rev

Rev 691 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 691 Rev 704
Line 69... Line 69...
69
#ifdef ARM_ARCH
69
#ifdef ARM_ARCH
70
#include "../arm/arm-support.h"
70
#include "../arm/arm-support.h"
71
#endif
71
#endif
72
 
72
 
73
/* increase this every time the api struct changes */
73
/* increase this every time the api struct changes */
74
#define EMCORE_API_VERSION 3
74
#define EMCORE_API_VERSION 4
75
 
75
 
76
/* update this to latest version if a change to the api struct breaks
76
/* update this to latest version if a change to the api struct breaks
77
   backwards compatibility (and please take the opportunity to sort in any
77
   backwards compatibility (and please take the opportunity to sort in any
78
   new function which are "waiting" at the end of the function table) */
78
   new function which are "waiting" at the end of the function table) */
79
#define EMCORE_MIN_API_VERSION 3
79
#define EMCORE_MIN_API_VERSION 4
80
 
80
 
81
/* NOTE: To support backwards compatibility, only add new functions at
81
/* NOTE: To support backwards compatibility, only add new functions at
82
         the end of the structure.  Every time you add a new function,
82
         the end of the structure.  Every time you add a new function,
83
         remember to increase EMCORE_API_VERSION. If you make changes to the
83
         remember to increase EMCORE_API_VERSION. If you make changes to the
84
         existing APIs, also update EMCORE_MIN_API_VERSION to current version */
84
         existing APIs, also update EMCORE_MIN_API_VERSION to current version */
Line 186... Line 186...
186
    typeof(filllcd) *filllcd;
186
    typeof(filllcd) *filllcd;
187
    typeof(displaylcd_native) *displaylcd_native;
187
    typeof(displaylcd_native) *displaylcd_native;
188
    typeof(filllcd_native) *filllcd_native;
188
    typeof(filllcd_native) *filllcd_native;
189
    typeof(displaylcd_sync) *displaylcd_sync;
189
    typeof(displaylcd_sync) *displaylcd_sync;
190
    typeof(displaylcd_busy) *displaylcd_busy;
190
    typeof(displaylcd_busy) *displaylcd_busy;
191
    typeof(displaylcd_safe) *displaylcd_safe;
-
 
192
    typeof(lcd_get_width) *lcd_get_width;
191
    typeof(lcd_get_width) *lcd_get_width;
193
    typeof(lcd_get_height) *lcd_get_height;
192
    typeof(lcd_get_height) *lcd_get_height;
194
    typeof(lcd_get_bytes_per_pixel) *lcd_get_bytes_per_pixel;
193
    typeof(lcd_get_bytes_per_pixel) *lcd_get_bytes_per_pixel;
195
    typeof(lcd_translate_color) *lcd_translate_color;
194
    typeof(lcd_translate_color) *lcd_translate_color;
196
    typeof(clean_dcache) *clean_dcache;
195
    typeof(clean_dcache) *clean_dcache;