mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 21:17:15 +08:00
Include ../../../../libbsp/shared/clockdrv_shell.h instead of ../../../../libbsp/shared/clockdrv_shell.c.
This commit is contained in:
@@ -112,4 +112,4 @@ void Clock_driver_support_shutdown_hardware( void )
|
||||
BSP_remove_rtems_irq_handler(&clock_isr_data);
|
||||
}
|
||||
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.c"
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <lpc22xx.h>
|
||||
#include <rtems/bspIo.h> /* for printk */
|
||||
|
||||
/* this is defined in ../../../shared/clockdrv_shell.c */
|
||||
/* this is defined in ../../../shared/clockdrv_shell.h */
|
||||
rtems_isr Clock_isr(rtems_vector_number vector);
|
||||
static void clock_isr_on(const rtems_irq_connect_data *unused);
|
||||
static void clock_isr_off(const rtems_irq_connect_data *unused);
|
||||
@@ -42,7 +42,7 @@ rtems_irq_connect_data clock_isr_data = {LPC22xx_INTERRUPT_TIMER0,
|
||||
|
||||
|
||||
|
||||
/*use the /shared/clockdrv_shell.c code template */
|
||||
/* use the /shared/clockdrv_shell.h code template */
|
||||
|
||||
/**
|
||||
* When we get the clock interrupt
|
||||
@@ -155,5 +155,5 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
|
||||
|
||||
|
||||
/* Make sure to include this, and only at the end of the file */
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.c"
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <mc9328mxl.h>
|
||||
#include <rtems/bspIo.h> /* for printk */
|
||||
|
||||
/* this is defined in ../../../shared/clockdrv_shell.c */
|
||||
/* this is defined in ../../../shared/clockdrv_shell.h */
|
||||
rtems_isr Clock_isr(rtems_vector_number vector);
|
||||
static void clock_isr_on(const rtems_irq_connect_data *unused);
|
||||
static void clock_isr_off(const rtems_irq_connect_data *unused);
|
||||
@@ -145,4 +145,4 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
|
||||
|
||||
|
||||
/* Make sure to include this, and only at the end of the file */
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.c"
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <bsp.h>
|
||||
#include <s3c2400.h>
|
||||
|
||||
/* this is defined in ../../../shared/clockdrv_shell.c */
|
||||
/* this is defined in ../../../shared/clockdrv_shell.h */
|
||||
rtems_isr Clock_isr(rtems_vector_number vector);
|
||||
static void clock_isr_on(const rtems_irq_connect_data *unused);
|
||||
static void clock_isr_off(const rtems_irq_connect_data *unused);
|
||||
@@ -134,4 +134,4 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
|
||||
|
||||
|
||||
/* Make sure to include this, and only at the end of the file */
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.c"
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <bsp.h>
|
||||
#include <s3c24xx.h>
|
||||
|
||||
/* this is defined in ../../../shared/clockdrv_shell.c */
|
||||
/* this is defined in ../../../shared/clockdrv_shell.h */
|
||||
rtems_isr Clock_isr(rtems_vector_number vector);
|
||||
static void clock_isr_on(const rtems_irq_connect_data *unused);
|
||||
static void clock_isr_off(const rtems_irq_connect_data *unused);
|
||||
@@ -134,4 +134,4 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
|
||||
|
||||
|
||||
/* Make sure to include this, and only at the end of the file */
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.c"
|
||||
#include "../../../../libbsp/shared/clockdrv_shell.h"
|
||||
|
||||
Reference in New Issue
Block a user