28#ifndef LIBBSP_SPARC_LEON2_BSP_H
29#define LIBBSP_SPARC_LEON2_BSP_H
55#define BSP_FEATURE_IRQ_EXTENSION
61#define BSP_IDLE_TASK_BODY bsp_idle_thread
66struct rtems_bsdnet_ifconfig;
67extern int rtems_leon_open_eth_driver_attach(
68 struct rtems_bsdnet_ifconfig *
config
70extern int rtems_smc91111_driver_attach_leon2(
71 struct rtems_bsdnet_ifconfig *
config
73#define RTEMS_BSP_NETWORK_DRIVER_NAME "open_eth1"
74#define RTEMS_BSP_NETWORK_DRIVER_ATTACH_OPENETH \
75 rtems_leon_open_eth_driver_attach
76#define RTEMS_BSP_NETWORK_DRIVER_ATTACH_SMC91111 \
77 rtems_smc91111_driver_attach_leon2
82#define GRETH_SUPPORTED
83#define GRETH_MEM_LOAD(addr) leon_r32_no_cache((uintptr_t) addr)
89extern int CPU_SPARC_HAS_SNOOPING;
101extern int PROM_START;
105extern int CLOCK_SPEED;
117void BSP_fatal_exit(uint32_t error);
120typedef void (*bsp_shared_isr)(
void *arg);
201void rtems_bsp_delay(
int usecs);
206int cchip1_register(
void);
209#define BSP_PCI_BIG_ENDIAN
216#define AMBAPPBUS_INFO_AVAIL
217#define GPTIMER_INFO_AVAIL
218#define GRETH_INFO_AVAIL
void console_outbyte_polled(int port, char ch)
Definition: console-io.c:59
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
ISR_Handler_entry rtems_isr_entry
Interrupt service routines installed by rtems_interrupt_catch() shall have this type.
Definition: intr.h:134
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:88
This header file is provided for backward compatiblility.
LEON3 BSP data types and macros.
This header file defines the RTEMS Classic API.
Definition: deflate.c:114