| * Copyright (c) 2013-2014 Wind River Systems, Inc. |
| * SPDX-License-Identifier: Apache-2.0 |
| * @brief Cortex-M public kernel miscellaneous |
| * ARM-specific kernel miscellaneous interface. Included by arm/arch.h. |
| #ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MISC_H_ |
| #define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MISC_H_ |
| extern void k_cpu_idle(void); |
| extern u32_t z_timer_cycle_get_32(void); |
| #define z_arch_k_cycle_get_32() z_timer_cycle_get_32() |
| * @brief Explicitly nop operation. |
| static ALWAYS_INLINE void z_arch_nop(void) |
| #endif /* ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MISC_H_ */ |