kernel: expose k_busy_wait() to user mode
If we just had the kernel's implementation, we could just move this to lib/, but possible arch-specific implementations dictate that we just make this a syscall. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
f253d0779d
commit
42cfd4ff26
6 changed files with 23 additions and 11 deletions
|
@ -25,10 +25,6 @@ void posix_irq_handler(void);
|
|||
void posix_exit(int exit_code);
|
||||
u64_t posix_get_hw_cycle(void);
|
||||
|
||||
#if defined(CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT)
|
||||
void k_busy_wait(u32_t usec_to_wait);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue