_timeout_remaining_get() was a function on a struct _timeout, doing iteration on the timeout list, but it was defined in timer.c (the higher level abstraction). Move it to where it belongs. Also have it return ticks instead of ms to conform to scheme in the rest of the timeout API. And rename it to a more standard zephyr name. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
|---|---|---|
| .. | ||
| gen_offset.h | ||
| kernel_internal.h | ||
| kernel_offsets.h | ||
| kernel_structs.h | ||
| ksched.h | ||
| kswap.h | ||
| offsets_short.h | ||
| syscall_handler.h | ||
| timeout_q.h | ||
| wait_q.h | ||