Rev 253 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 253 | Rev 254 | ||
|---|---|---|---|
| Line 15... | Line 15... | ||
| 15 | void (*reset)(void); |
15 | void (*reset)(void); |
| 16 | Can_Return_t (*can_send)(Can_Message_t* msg); |
16 | Can_Return_t (*can_send)(Can_Message_t* msg); |
| 17 | void (*can_callback)(Can_Message_t *msg); |
17 | void (*can_callback)(Can_Message_t *msg); |
| 18 | void (*debug_putchar)(char c); |
18 | void (*debug_putchar)(char c); |
| 19 | char (*debug_getchar)(void); |
19 | char (*debug_getchar)(void); |
| 20 | long (*timebase_get)(void); |
20 | unsigned long (*timebase_get)(void); |
| 21 | } bios_t; |
21 | } bios_t; |
| 22 | 22 | ||
| 23 | static bios_t bios_functions __attribute__ ((section (".bios_interface"))); |
23 | static bios_t bios_functions __attribute__ ((section (".bios_interface"))); |
| 24 | 24 | ||
| 25 | static bios_t *bios __attribute__ ((used)) = (bios_t*)&bios_functions; |
25 | static bios_t *bios __attribute__ ((used)) = (bios_t*)&bios_functions; |