diff options
Diffstat (limited to 'hal_internal.h')
-rw-r--r-- | hal_internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hal_internal.h b/hal_internal.h index a60d0b5..ac51cfb 100644 --- a/hal_internal.h +++ b/hal_internal.h @@ -103,6 +103,18 @@ static inline hal_error_t hal_io_wait_valid(const hal_core_t *core) return hal_io_wait(core, STATUS_VALID, &limit); } +static inline hal_error_t hal_io_wait_ready2(const hal_core_t *core1, const hal_core_t *core2) +{ + int limit = -1; + return hal_io_wait2(core1, core2, STATUS_READY, &limit); +} + +static inline hal_error_t hal_io_wait_valid2(const hal_core_t *core1, const hal_core_t *core2) +{ + int limit = -1; + return hal_io_wait2(core1, core2, STATUS_VALID, &limit); +} + /* * Static memory allocation on start-up. Don't use this except where * really necessary. By design, there's no way to free this, we don't |