RTEMS  5.1
Macros | Typedefs | Functions | Variables
bsp.h File Reference

Global BSP definitions. More...

#include <bspopts.h>
#include <bsp/default-initial-extension.h>
#include <rtems.h>
#include <leon.h>
#include <rtems/irq-extension.h>

Go to the source code of this file.

Macros

#define LEON2   1
 
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "open_eth1"
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH_OPENETH   rtems_leon_open_eth_driver_attach
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH_SMC91111   rtems_smc91111_driver_attach_leon2
 
#define HAS_SMC91111
 
#define GRETH_SUPPORTED
 
#define GRETH_MEM_LOAD(addr)   leon_r32_no_cache((uintptr_t) addr)
 
#define BSP_PCI_BIG_ENDIAN
 
#define AMBAPPBUS_INFO_AVAIL   /* AMBAPP Bus driver */
 
#define GPTIMER_INFO_AVAIL   /* GPTIMER Timer driver */
 
#define GRETH_INFO_AVAIL   /* GRETH Ethernet driver */
 

Typedefs

typedef void(* bsp_shared_isr) (void *arg)
 

Functions

void * bsp_idle_thread (uintptr_t ignored)
 Optimized idle task. More...
 
int rtems_leon_open_eth_driver_attach (struct rtems_bsdnet_ifconfig *config)
 
int rtems_smc91111_driver_attach_leon2 (struct rtems_bsdnet_ifconfig *config)
 
rtems_isr_entry set_vector (rtems_isr_entry handler, rtems_vector_number vector, int type)
 Install an interrupt handler. More...
 
void BSP_fatal_exit (uint32_t error)
 
void bsp_spurious_initialize (void)
 
void BSP_shared_interrupt_init (void)
 
void bsp_isr_handler (rtems_vector_number vector)
 
void BSP_shared_interrupt_clear (int irq)
 
void BSP_shared_interrupt_unmask (int irq)
 
void BSP_shared_interrupt_mask (int irq)
 
void rtems_bsp_delay (int usecs)
 
int cchip1_register (void)
 
void console_outbyte_polled (int port, unsigned char ch)
 
int console_inbyte_nonblocking (int port)
 

Variables

int CPU_SPARC_HAS_SNOOPING
 
int RAM_START
 
int RAM_END
 
int RAM_SIZE
 
int PROM_START
 
int PROM_END
 
int PROM_SIZE
 
int CLOCK_SPEED
 
int end
 

Detailed Description

Global BSP definitions.