28 #ifndef LIBBSP_SPARC_LEON2_BSP_H 29 #define LIBBSP_SPARC_LEON2_BSP_H 59 #define BSP_IDLE_TASK_BODY bsp_idle_thread 64 struct rtems_bsdnet_ifconfig;
65 extern int rtems_leon_open_eth_driver_attach(
66 struct rtems_bsdnet_ifconfig *
config 68 extern int rtems_smc91111_driver_attach_leon2(
69 struct rtems_bsdnet_ifconfig *
config 71 #define RTEMS_BSP_NETWORK_DRIVER_NAME "open_eth1" 72 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH_OPENETH \ 73 rtems_leon_open_eth_driver_attach 74 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH_SMC91111 \ 75 rtems_smc91111_driver_attach_leon2 80 #define GRETH_SUPPORTED 81 #define GRETH_MEM_LOAD(addr) leon_r32_no_cache((uintptr_t) addr) 87 extern int CPU_SPARC_HAS_SNOOPING;
99 extern int PROM_START;
101 extern int PROM_SIZE;
103 extern int CLOCK_SPEED;
110 rtems_isr_entry handler,
115 void BSP_fatal_exit(uint32_t error);
117 void bsp_spurious_initialize(
void );
120 typedef void (*bsp_shared_isr)(
void *arg);
123 extern void BSP_shared_interrupt_init(
void);
138 static __inline__
int BSP_shared_interrupt_register
157 static __inline__
int BSP_shared_interrupt_unregister
175 extern void BSP_shared_interrupt_clear(
int irq);
184 extern void BSP_shared_interrupt_unmask(
int irq);
193 extern void BSP_shared_interrupt_mask(
int irq);
198 void rtems_bsp_delay(
int usecs);
203 int cchip1_register(
void);
206 #define BSP_PCI_BIG_ENDIAN 213 #define AMBAPPBUS_INFO_AVAIL 214 #define GPTIMER_INFO_AVAIL 215 #define GRETH_INFO_AVAIL 217 void console_outbyte_polled(
int port,
unsigned char ch );
Definition: deflate.c:115
rtems_isr_entry set_vector(rtems_isr_entry handler, rtems_vector_number vector, int type)
Install an interrupt handler.
Definition: setvec.c:28
#define RTEMS_INTERRUPT_SHARED
Allows that this interrupt handler may share a common interrupt vector with other handler...
Definition: irq-extension.h:56
rtems_status_code rtems_interrupt_handler_remove(rtems_vector_number vector, rtems_interrupt_handler handler, void *arg)
Removes the interrupt handler routine handler with argument arg for the interrupt vector with number ...
Definition: irq.c:175
rtems_status_code rtems_interrupt_handler_install(rtems_vector_number vector, const char *info, rtems_option options, rtems_interrupt_handler handler, void *arg)
Installs the interrupt handler routine handler for the interrupt vector with number vector...
Definition: irq.c:127
DEFAULT_INITIAL_EXTENSION Support.
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
int console_inbyte_nonblocking(int port)
Definition: console-io.c:46
Header file for the Interrupt Manager Extension.
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:26