drivers: apic_timer: fix include of system_timer.h

Fix path for system_timer.h and loapic.h, we moved it to
include/drivers/timer/ and include/drivers/interrupt_controller/

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-27 11:38:40 -04:00 committed by Andrew Boie
commit 0eee0a3c6c
2 changed files with 4 additions and 4 deletions

View file

@ -3,10 +3,10 @@
* 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 <drivers/loapic.h>
#include <drivers/interrupt_controller/loapic.h>
BUILD_ASSERT_MSG(!IS_ENABLED(CONFIG_SMP), "APIC timer doesn't support SMP");
@ -40,7 +40,7 @@ BUILD_ASSERT_MSG(!IS_ENABLED(CONFIG_SMP), "APIC timer doesn't support SMP");
* found via CPUID 0x15 (n = EBX, m = EAX) on most CPUs.
*/
/* These should be merged into include/drivers/loapic.h. */
/* These should be merged into include/drivers/interrupt_controller/loapic.h. */
#define DCR_DIVIDER_MASK 0x0000000F /* divider bits */
#define DCR_DIVIDER 0x0000000B /* divide by 1 */

View file

@ -241,7 +241,7 @@
* MSRs 0x0800 to 0x0BFF are reserved for x2APIC access.
*
* We only record the base address here, as the local APIC code
* knows how to find the registers, see include/drivers/loapic.h.
* knows how to find the registers, see include/drivers/interrupt_controller/loapic.h.
*/
#define X86_X2APIC_BASE_MSR 0x0800