RTEMS  5.0.0
Macros | Functions | Variables
bsp.h File Reference

Global BSP definitions. More...

#include <bspopts.h>
#include <libcpu/powerpc-utility.h>
#include <bsp/hwreg_vals.h>
#include <rtems.h>
#include <bsp/vectors.h>
#include <bsp/irq.h>
#include <bsp/default-initial-extension.h>

Go to the source code of this file.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define BSP_ARRAY_CNT(arr)   (sizeof(arr)/sizeof(arr[0]))
 
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   BSP_tsec_attach
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "tsec1"
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME2   "tsec2"
 
#define BSP_Convert_decrementer(_value)   ((int) (((_value) * 10) / bsp_clicks_per_usec))
 

Functions

 LINKER_SYMBOL (bsp_ram_start)
 
 LINKER_SYMBOL (bsp_ram_end)
 
 LINKER_SYMBOL (bsp_ram_size)
 
 LINKER_SYMBOL (bsp_rom_start)
 
 LINKER_SYMBOL (bsp_rom_end)
 
 LINKER_SYMBOL (bsp_rom_size)
 
 LINKER_SYMBOL (bsp_section_text_start)
 
 LINKER_SYMBOL (bsp_section_text_end)
 
 LINKER_SYMBOL (bsp_section_text_size)
 
 LINKER_SYMBOL (bsp_section_data_start)
 
 LINKER_SYMBOL (bsp_section_data_end)
 
 LINKER_SYMBOL (bsp_section_data_size)
 
 LINKER_SYMBOL (bsp_section_bss_start)
 
 LINKER_SYMBOL (bsp_section_bss_end)
 
 LINKER_SYMBOL (bsp_section_bss_size)
 
 LINKER_SYMBOL (bsp_work_area_start)
 
 LINKER_SYMBOL (IMMRBAR)
 
void * bsp_idle_thread (uintptr_t ignored)
 Optimized idle task. More...
 
rtems_status_code bsp_register_i2c (void)
 
rtems_status_code bsp_register_spi (void)
 
int BSP_tsec_attach (struct rtems_bsdnet_ifconfig *config, int attaching)
 
void mpc83xx_zero_4 (void *dest, size_t n)
 
void cpu_init (void)
 
void bsp_restart (void *addr)
 

Variables

unsigned int BSP_bus_frequency
 
uint32_t bsp_clicks_per_usec
 

Detailed Description

Global BSP definitions.