blob: 974730d6b35ed187347de9ca907a9fb3f619def8 [file] [log] [blame]
Cindy Liu48f6baf2021-07-28 20:42:34 -07001// 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 Liu44b65402021-09-03 00:48:35 -070013// IREE_DEVICE_SIZE_T for status print out.
14#define IREE_DEVICE_SIZE_T uint32_t
15#define PRIdsz PRIu32
16
Cindy Liu48f6baf2021-07-28 20:42:34 -070017#endif // SPRINGBOK_CONFIG_H