mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 05:13:23 +00:00
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. This handles the remaining includes and kernel, plus touching up various points that we skipped because of include dependancies. We also convert the PRI printf formatters in the arch code over to normal formatters. Jira: ZEP-2051 Change-Id: Iecbb12601a3ee4ea936fd7ddea37788a645b08b0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
35 lines
636 B
C
35 lines
636 B
C
/*
|
|
* Copyright (c) 2014 Wind River Systems, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief ARCv2 public kernel miscellaneous
|
|
*
|
|
* ARC-specific kernel miscellaneous interface. Included by arc/arch.h.
|
|
*/
|
|
|
|
#ifndef _ARCH_ARC_V2_MISC_H_
|
|
#define _ARCH_ARC_V2_MISC_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
extern unsigned int k_cpu_sleep_mode;
|
|
extern void k_cpu_idle(void);
|
|
extern void k_cpu_atomic_idle(unsigned int key);
|
|
|
|
extern u32_t _timer_cycle_get_32(void);
|
|
#define _arch_k_cycle_get_32() _timer_cycle_get_32()
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _ARCH_ARC_V2_MISC_H_ */
|