forked from Imagelibrary/rtems
sapi: Delete duplicate declarations
This commit is contained in:
@@ -37,8 +37,6 @@ static inline int32_t BSP_get_baud(void) {return 115200;}
|
|||||||
/* How big should the interrupt stack be? */
|
/* How big should the interrupt stack be? */
|
||||||
#define CONFIGURE_INTERRUPT_STACK_MEMORY (16 * 1024)
|
#define CONFIGURE_INTERRUPT_STACK_MEMORY (16 * 1024)
|
||||||
|
|
||||||
extern rtems_configuration_table Configuration;
|
|
||||||
|
|
||||||
#define ST_PIMR_PIV 33 /* 33 ticks of the 32.768Khz clock ~= 1msec */
|
#define ST_PIMR_PIV 33 /* 33 ticks of the 32.768Khz clock ~= 1msec */
|
||||||
|
|
||||||
#define outport_byte(port,val) *((unsigned char volatile*)(port)) = (val)
|
#define outport_byte(port,val) *((unsigned char volatile*)(port)) = (val)
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ volatile uint32_t Clock_driver_ticks;
|
|||||||
/* ticks since initialization */
|
/* ticks since initialization */
|
||||||
rtems_isr_entry Old_ticker;
|
rtems_isr_entry Old_ticker;
|
||||||
|
|
||||||
extern rtems_configuration_table Configuration;
|
|
||||||
extern void led_putnum(void);
|
extern void led_putnum(void);
|
||||||
void Disable_clock(void);
|
void Disable_clock(void);
|
||||||
|
|
||||||
|
|||||||
@@ -130,13 +130,6 @@ char BSP_serialNumber[20] = {0};
|
|||||||
char BSP_enetAddr0[7] = {0};
|
char BSP_enetAddr0[7] = {0};
|
||||||
char BSP_enetAddr1[7] = {0};
|
char BSP_enetAddr1[7] = {0};
|
||||||
|
|
||||||
/*
|
|
||||||
* The original table from the application and our copy of it with
|
|
||||||
* some changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern rtems_configuration_table Configuration;
|
|
||||||
|
|
||||||
char *rtems_progname;
|
char *rtems_progname;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -118,13 +118,6 @@ void _BSP_Fatal_error(unsigned int v)
|
|||||||
__asm__ __volatile ("sc");
|
__asm__ __volatile ("sc");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* The original table from the application and our copy of it with
|
|
||||||
* some changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern rtems_configuration_table Configuration;
|
|
||||||
|
|
||||||
char *rtems_progname;
|
char *rtems_progname;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ extern "C" {
|
|||||||
|
|
||||||
extern rtems_initialization_tasks_table Initialization_tasks[];
|
extern rtems_initialization_tasks_table Initialization_tasks[];
|
||||||
extern rtems_driver_address_table Device_drivers[];
|
extern rtems_driver_address_table Device_drivers[];
|
||||||
extern rtems_configuration_table Configuration;
|
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
extern rtems_multiprocessing_table Multiprocessing_configuration;
|
extern rtems_multiprocessing_table Multiprocessing_configuration;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -280,12 +280,6 @@ extern rtems_configuration_table Configuration;
|
|||||||
#define rtems_configuration_get_idle_task_stack_size() \
|
#define rtems_configuration_get_idle_task_stack_size() \
|
||||||
(Configuration.idle_task_stack_size)
|
(Configuration.idle_task_stack_size)
|
||||||
|
|
||||||
/* XXX We need to get this from the generated table
|
|
||||||
* since BSPs need it before the pointer is set.
|
|
||||||
* Eventually all should be done this way.
|
|
||||||
*/
|
|
||||||
extern rtems_configuration_table Configuration;
|
|
||||||
|
|
||||||
#define rtems_configuration_get_interrupt_stack_size() \
|
#define rtems_configuration_get_interrupt_stack_size() \
|
||||||
(Configuration.interrupt_stack_size)
|
(Configuration.interrupt_stack_size)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user