Subversion Repositories freemyipod

Rev

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

Rev 184 Rev 258
Line 61... Line 61...
61
#include "../libc/include/stdlib.h"
61
#include "../libc/include/stdlib.h"
62
#include "../libc/include/stdio.h"
62
#include "../libc/include/stdio.h"
63
#include "../libc/tlsf/tlsf.h"
63
#include "../libc/tlsf/tlsf.h"
64
 
64
 
65
/* increase this every time the api struct changes */
65
/* increase this every time the api struct changes */
66
#define EMBIOS_API_VERSION 0
66
#define EMBIOS_API_VERSION 1
67
 
67
 
68
/* update this to latest version if a change to the api struct breaks
68
/* update this to latest version if a change to the api struct breaks
69
   backwards compatibility (and please take the opportunity to sort in any
69
   backwards compatibility (and please take the opportunity to sort in any
70
   new function which are "waiting" at the end of the function table) */
70
   new function which are "waiting" at the end of the function table) */
71
#define EMBIOS_MIN_API_VERSION 0
71
#define EMBIOS_MIN_API_VERSION 0
Line 77... Line 77...
77
 
77
 
78
struct embios_syscall_table
78
struct embios_syscall_table
79
{
79
{
80
    uint32_t table_version;
80
    uint32_t table_version;
81
    uint32_t table_minversion;
81
    uint32_t table_minversion;
82
	typeof(panic) *panic;
82
    typeof(panic) *panic;
83
	typeof(panicf) *panicf;
83
    typeof(panicf) *panicf;
84
    typeof(cprintf) *cprintf;
84
    typeof(cprintf) *cprintf;
85
    typeof(cvprintf) *cvprintf;
85
    typeof(cvprintf) *cvprintf;
86
    typeof(cputc) *cputc;
86
    typeof(cputc) *cputc;
87
    typeof(cputs) *cputs;
87
    typeof(cputs) *cputs;
88
    typeof(cwrite) *cwrite;
88
    typeof(cwrite) *cwrite;
Line 226... Line 226...
226
    typeof(disk_mount) *disk_mount;
226
    typeof(disk_mount) *disk_mount;
227
    typeof(disk_unmount) *disk_unmount;
227
    typeof(disk_unmount) *disk_unmount;
228
    typeof(hwkeyaes) *hwkeyaes;
228
    typeof(hwkeyaes) *hwkeyaes;
229
    typeof(hmacsha1) *hmacsha1;
229
    typeof(hmacsha1) *hmacsha1;
230
    typeof(reset) *reset;
230
    typeof(reset) *reset;
-
 
231
    typeof(int_dma_set_handler) *int_dma_set_handler;
231
};
232
};
232
 
233
 
233
 
234
 
234
#endif
235
#endif