30#ifndef LIBBSP_SPARC_LEON2_BSP_H
31#define LIBBSP_SPARC_LEON2_BSP_H
57#define BSP_FEATURE_IRQ_EXTENSION
63#define BSP_IDLE_TASK_BODY bsp_idle_thread
68struct rtems_bsdnet_ifconfig;
69extern int rtems_leon_open_eth_driver_attach(
70 struct rtems_bsdnet_ifconfig *config
72extern int rtems_smc91111_driver_attach_leon2(
73 struct rtems_bsdnet_ifconfig *config
75#define RTEMS_BSP_NETWORK_DRIVER_NAME "open_eth1"
76#define RTEMS_BSP_NETWORK_DRIVER_ATTACH_OPENETH \
77 rtems_leon_open_eth_driver_attach
78#define RTEMS_BSP_NETWORK_DRIVER_ATTACH_SMC91111 \
79 rtems_smc91111_driver_attach_leon2
84#define GRETH_SUPPORTED
85#define GRETH_MEM_LOAD(addr) leon_r32_no_cache((uintptr_t) addr)
91extern int CPU_SPARC_HAS_SNOOPING;
103extern int PROM_START;
107extern int CLOCK_SPEED;
113void BSP_fatal_exit(uint32_t error);
116typedef void (*bsp_shared_isr)(
void *arg);
197void rtems_bsp_delay(
int usecs);
202int cchip1_register(
void);
205#define BSP_PCI_BIG_ENDIAN
212#define AMBAPPBUS_INFO_AVAIL
213#define GPTIMER_INFO_AVAIL
214#define GRETH_INFO_AVAIL
void console_outbyte_polled(int port, char ch)
Definition: console-io.c:57
This header file provides the default definition of BSP_INITIAL_EXTENSION.
#define RTEMS_DEPRECATED
Instructs the compiler in a declaration to issue a warning whenever a variable, function,...
Definition: basedefs.h:334
rtems_status_code rtems_interrupt_vector_disable(rtems_vector_number vector)
Disables the interrupt vector.
Definition: irq-enable-disable.c:94
rtems_status_code rtems_interrupt_handler_install(rtems_vector_number vector, const char *info, rtems_option options, rtems_interrupt_handler routine, void *arg)
Installs the interrupt handler routine and argument at the interrupt vector.
Definition: irq-handler-install.c:85
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
#define RTEMS_INTERRUPT_SHARED
This interrupt handler install option allows that the interrupt handler may share the interrupt vecto...
Definition: intr.h:960
rtems_status_code rtems_interrupt_handler_remove(rtems_vector_number vector, rtems_interrupt_handler routine, void *arg)
Removes the interrupt handler routine and argument from the interrupt vector.
Definition: irq-handler-remove.c:62
rtems_status_code rtems_interrupt_vector_enable(rtems_vector_number vector)
Enables the interrupt vector.
Definition: irq-enable-disable.c:85
rtems_status_code rtems_interrupt_clear(rtems_vector_number vector)
Clears the interrupt vector.
Definition: irq-raise-clear.c:92
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:39
int console_inbyte_nonblocking(int port)
Definition: console-io.c:78
This header file is provided for backward compatiblility.
LEON3 BSP data types and macros.
This header file defines the RTEMS Classic API.