Skip to content
Permalink
Browse files

include: move system timer headers to include/drivers/timer/

Move internal and architecture specific headers from include/drivers to
subfolder for timer:

   include/drivers/timer

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jun 21, 2019
1 parent 43a4933 commit 68c389c1f82aa2c6fedb0d077de31d86cd36bce2
@@ -7,7 +7,7 @@
#include <kernel.h>
#include <arch/cpu.h>
#include <device.h>
#include <system_timer.h>
#include <drivers/timer/system_timer.h>
#include <altera_common.h>

#include "altera_avalon_timer_regs.h"
@@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <spinlock.h>
#include <arch/arc/v2/aux_regs.h>
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <spinlock.h>
#include <arch/arm/cortex_m/cmsis.h>
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <spinlock.h>

@@ -8,7 +8,7 @@
#include <arch/cpu.h>
#include <device.h>
#include <irq.h>
#include <system_timer.h>
#include <drivers/timer/system_timer.h>

#define TIMER_BASE DT_LITEX_TIMER0_E0002800_BASE_ADDRESS
#define TIMER_LOAD_ADDR ((TIMER_BASE) + 0x00)
@@ -60,7 +60,7 @@
#include <toolchain.h>
#include <linker/sections.h>
#include <sys_clock.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <arch/x86/irq_controller.h>
#include <power.h>
#include <device.h>
@@ -14,7 +14,7 @@
#include "zephyr/types.h"
#include "irq.h"
#include "device.h"
#include "drivers/system_timer.h"
#include <drivers/timer/system_timer.h>
#include "sys_clock.h"
#include "timer_model.h"
#include "soc.h"
@@ -8,7 +8,7 @@
#include <soc.h>
#include <clock_control.h>
#include <drivers/clock_control/nrf_clock_control.h>
#include <system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <nrf_rtc.h>
#include <spinlock.h>
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <spinlock.h>
#include <soc.h>
@@ -6,7 +6,7 @@

#include <zephyr.h>
#include <misc/util.h>
#include <system_timer.h>
#include <drivers/timer/system_timer.h>
#include <soc.h>

/*
@@ -16,7 +16,7 @@

#include <soc.h>
#include <clock_control.h>
#include <system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>

/* RTC registers. */
@@ -14,7 +14,7 @@

#include <kernel.h>
#include <init.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>

/* Weak-linked noop defaults for optional driver interfaces: */

@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <spinlock.h>
#include <xtensa_rtos.h>
File renamed without changes.
@@ -8,7 +8,7 @@
#include <kernel_structs.h>
#include <toolchain.h>
#include <linker/sections.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <wait_q.h>
#include <power.h>
#include <stdbool.h>
@@ -11,7 +11,7 @@
#include <kswap.h>
#include <kernel_arch_func.h>
#include <syscall_handler.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <stdbool.h>

#if defined(CONFIG_SCHED_DUMB)
@@ -21,7 +21,7 @@
#include <misc/printk.h>
#include <misc/math_extras.h>
#include <sys_clock.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <ksched.h>
#include <wait_q.h>
#include <atomic.h>
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <timeout_q.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <spinlock.h>
#include <ksched.h>
@@ -11,7 +11,7 @@
*/

#include <kernel.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <misc/printk.h>
#include <misc/reboot.h>

@@ -15,7 +15,7 @@
*/

#include <random/rand32.h>
#include <drivers/system_timer.h>
#include <drivers/timer/system_timer.h>
#include <kernel.h>
#include <atomic.h>

0 comments on commit 68c389c

Please sign in to comment.
You can’t perform that action at this time.