25#ifndef LIBBSP_SPARC_ERC32_BSP_H
26#define LIBBSP_SPARC_ERC32_BSP_H
53#define BSP_IDLE_TASK_BODY bsp_idle_thread
58struct rtems_bsdnet_ifconfig;
59extern int rtems_erc32_sonic_driver_attach(
60 struct rtems_bsdnet_ifconfig *
config
62#define RTEMS_BSP_NETWORK_DRIVER_NAME "sonic1"
63#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_erc32_sonic_driver_attach
79extern int CLOCK_SPEED;
86 rtems_isr_entry handler,
91void BSP_fatal_exit(uint32_t error);
93void bsp_spurious_initialize(
void );
96typedef void (*bsp_shared_isr)(
void *arg);
99extern void BSP_shared_interrupt_init(
void);
114static __inline__
int BSP_shared_interrupt_register
133static __inline__
int BSP_shared_interrupt_unregister
151extern void BSP_shared_interrupt_clear(
int irq);
160extern void BSP_shared_interrupt_unmask(
int irq);
169extern void BSP_shared_interrupt_mask(
int irq);
174void rtems_bsp_delay(
int usecs);
179void console_outbyte_polled(
int port,
unsigned char ch);
DEFAULT_INITIAL_EXTENSION Support.
Contains information pertaining to the ERC32.
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:26
rtems_isr_entry set_vector(rtems_isr_entry handler, rtems_vector_number vector, int type)
Install an interrupt handler.
Definition: setvec.c:28
int console_inbyte_nonblocking(int port)
Definition: console-io.c:84
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
#define RTEMS_INTERRUPT_SHARED
Allows that this interrupt handler may share a common interrupt vector with other handler.
Definition: irq-extension.h:50
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
Header file for the Interrupt Manager Extension.
Definition: deflate.c:115