| Line 36... |
Line 36... |
| 36 |
|
36 |
|
| 37 |
/* emCORE library identifier */
|
37 |
/* emCORE library identifier */
|
| 38 |
#define LIBBOOT_IDENTIFIER 0x4c424365
|
38 |
#define LIBBOOT_IDENTIFIER 0x4c424365
|
| 39 |
|
39 |
|
| 40 |
/* increase this every time the api struct changes */
|
40 |
/* increase this every time the api struct changes */
|
| 41 |
#define LIBBOOT_API_VERSION 1
|
41 |
#define LIBBOOT_API_VERSION 2
|
| 42 |
|
42 |
|
| 43 |
/* update this to latest version if a change to the api struct breaks
|
43 |
/* update this to latest version if a change to the api struct breaks
|
| 44 |
backwards compatibility (and please take the opportunity to sort in any
|
44 |
backwards compatibility (and please take the opportunity to sort in any
|
| 45 |
new function which are "waiting" at the end of the function table) */
|
45 |
new function which are "waiting" at the end of the function table) */
|
| 46 |
#define LIBBOOT_MIN_API_VERSION 1
|
46 |
#define LIBBOOT_MIN_API_VERSION 2
|
| 47 |
|
47 |
|
| 48 |
/* NOTE: To support backwards compatibility, only add new functions at
|
48 |
/* NOTE: To support backwards compatibility, only add new functions at
|
| 49 |
the end of the structure. Every time you add a new function,
|
49 |
the end of the structure. Every time you add a new function,
|
| 50 |
remember to increase LIBBOOT_API_VERSION. If you make changes to the
|
50 |
remember to increase LIBBOOT_API_VERSION. If you make changes to the
|
| 51 |
existing APIs, also update LIBBOOT_MIN_API_VERSION to current version */
|
51 |
existing APIs, also update LIBBOOT_MIN_API_VERSION to current version */
|