Cindy Liu | 48f6baf | 2021-07-28 20:42:34 -0700 | [diff] [blame] | 1 | // Springbok-specific implementation for some IREE functions. |
| 2 | |
| 3 | #ifndef SPRINGBOK_CONFIG_H |
| 4 | #define SPRINGBOK_CONFIG_H |
| 5 | |
| 6 | // IREE_TIME_NOW_FN is required and used to fetch the current RTC time and to be |
| 7 | // used for wait handling. A thread-less system can just return 0. |
| 8 | #define IREE_TIME_NOW_FN \ |
| 9 | { \ |
| 10 | return 0; \ |
| 11 | } |
| 12 | |
Cindy Liu | 44b6540 | 2021-09-03 00:48:35 -0700 | [diff] [blame] | 13 | // IREE_DEVICE_SIZE_T for status print out. |
| 14 | #define IREE_DEVICE_SIZE_T uint32_t |
| 15 | #define PRIdsz PRIu32 |
| 16 | |
Cindy Liu | 48f6baf | 2021-07-28 20:42:34 -0700 | [diff] [blame] | 17 | #endif // SPRINGBOK_CONFIG_H |