mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:07:33 +08:00
bsps/arm: Include missing header file
This commit is contained in:
@@ -33,6 +33,7 @@ include_bsp_HEADERS += ../../shared/include/irq-info.h
|
||||
include_bsp_HEADERS += ../../shared/include/stackalloc.h
|
||||
include_bsp_HEADERS += ../../shared/tod.h
|
||||
include_bsp_HEADERS += ../shared/include/start.h
|
||||
include_bsp_HEADERS += ../shared/include/arm-a9mpcore-clock.h
|
||||
include_bsp_HEADERS += ../shared/include/arm-a9mpcore-irq.h
|
||||
include_bsp_HEADERS += ../shared/include/arm-a9mpcore-regs.h
|
||||
include_bsp_HEADERS += ../shared/include/arm-a9mpcore-start.h
|
||||
|
||||
@@ -86,6 +86,10 @@ $(PROJECT_INCLUDE)/bsp/start.h: ../shared/include/start.h $(PROJECT_INCLUDE)/bsp
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/start.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/start.h
|
||||
|
||||
$(PROJECT_INCLUDE)/bsp/arm-a9mpcore-clock.h: ../shared/include/arm-a9mpcore-clock.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/arm-a9mpcore-clock.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/arm-a9mpcore-clock.h
|
||||
|
||||
$(PROJECT_INCLUDE)/bsp/arm-a9mpcore-irq.h: ../shared/include/arm-a9mpcore-irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/arm-a9mpcore-irq.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/arm-a9mpcore-irq.h
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <bsp.h>
|
||||
#include <bsp/irq.h>
|
||||
#include <bsp/arm-a9mpcore-regs.h>
|
||||
#include <bsp/arm-a9mpcore-clock.h>
|
||||
|
||||
#define A9MPCORE_PT ((volatile a9mpcore_pt *) BSP_ARM_A9MPCORE_PT_BASE)
|
||||
|
||||
@@ -23,9 +24,7 @@ static uint64_t a9mpcore_clock_last_tick_k;
|
||||
/* This is defined in clockdrv_shell.h */
|
||||
void Clock_isr(rtems_irq_hdl_param arg);
|
||||
|
||||
uint32_t a9mpcore_clock_periphclk(void) __attribute__ ((weak));
|
||||
|
||||
uint32_t a9mpcore_clock_periphclk(void)
|
||||
__attribute__ ((weak)) uint32_t a9mpcore_clock_periphclk(void)
|
||||
{
|
||||
/* default to the BSP option. */
|
||||
return BSP_ARM_A9MPCORE_PERIPHCLK;
|
||||
|
||||
Reference in New Issue
Block a user