RTEMS  5.0.0
Macros | Functions | Variables

Global BSP definitions. More...

#include <bspopts.h>
#include <rtems.h>
#include <libcpu/powerpc-utility.h>
#include <bsp/tictac.h>
#include <bsp/linker-symbols.h>
#include <bsp/default-initial-extension.h>

Go to the source code of this file.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define MPC55XX_PERIPHERAL_CLOCK   (MPC55XX_SYSTEM_CLOCK / MPC55XX_SYSTEM_CLOCK_DIVIDER)
 
#define BSP_Convert_decrementer(_value)   (((unsigned long long) (_value)) / ((unsigned long long)bsp_clicks_per_usec))
 Convert Decrementer ticks to microseconds.
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   smsc9218i_attach_detach
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "eth0"
 
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
 
#define BSP_DSRAM_SECTION   __attribute__((section(".bsp_dsram")))
 
#define BSP_SYSRAM_SECTION   __attribute__((section(".bsp_sysram")))
 

Functions

rtems_status_code mpc55xx_sd_card_init (bool mount)
 
int smsc9218i_attach_detach (struct rtems_bsdnet_ifconfig *config, int attaching)
 
rtems_status_code bsp_register_i2c (void)
 
void bsp_restart (void *addr)
 
void * bsp_idle_thread (uintptr_t arg)
 Optimized idle task. More...
 

Variables

unsigned int bsp_clock_speed
 System clock frequency.
 
uint32_t bsp_clicks_per_usec
 Time base clicks per micro second.
 

Detailed Description

Global BSP definitions.