Rev 181 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 181 | Rev 223 | ||
|---|---|---|---|
| Line 8... | Line 8... | ||
| 8 | 8 | ||
| 9 | //--------------------------------------------------------------------------- |
9 | //--------------------------------------------------------------------------- |
| 10 | // Public function structure definition and declaration |
10 | // Public function structure definition and declaration |
| 11 | 11 | ||
| 12 | typedef struct bios{ |
12 | typedef struct bios{ |
| 13 | int (*put_char)(char c, FILE *stream); |
- | |
| 14 |
|
13 | unsigned version; |
| 15 | void (*reset)(void); |
14 | void (*reset)(void); |
| - | 15 | void (*can_send)(char c); |
|
| 16 |
|
16 | char (*can_receive)(void); |
| - | 17 | long (*timebase_get)(void); |
|
| 17 | } bios_t; |
18 | } bios_t; |
| 18 | 19 | ||
| 19 | static bios_t bios_functions __attribute__ ((section (".bios_interface"))); |
20 | static bios_t bios_functions __attribute__ ((section (".bios_interface"))); |
| 20 | 21 | ||
| 21 | //#ifndef BIOS_BUILDTYPE_BIOS |
22 | //#ifndef BIOS_BUILDTYPE_BIOS |