Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 181 | andfri | 1 | #ifndef BIOS_FUNS_H_ |
| 2 | #define BIOS_FUNS_H_ |
||
| 3 | |||
| 4 | #define BIOS_BUILDTYPE_BIOS |
||
| 223 | andfri | 5 | #define BIOS_VERSION 0x1002 |
| 181 | andfri | 6 | |
| 7 | #include "bios.h" |
||
| 8 | |||
| 9 | //--------------------------------------------------------------------------- |
||
| 10 | // Function prototypes for the exported interface |
||
| 11 | |||
| 223 | andfri | 12 | static void reset(void); |
| 13 | static void bios_putchar(char c); |
||
| 14 | static char bios_getchar(void); |
||
| 15 | static long timebase_get(void); |
||
| 181 | andfri | 16 | |
| 17 | static bios_t bios_functions = { |
||
| 223 | andfri | 18 | BIOS_VERSION, |
| 19 | reset, |
||
| 181 | andfri | 20 | bios_putchar, |
| 21 | bios_getchar, |
||
| 223 | andfri | 22 | timebase_get |
| 181 | andfri | 23 | }; |
| 24 | |||
| 25 | #endif /*BIOS_FUNS_H_*/ |