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

Global BSP definitions. More...

#include <libcpu/powerpc-utility.h>
#include <bspopts.h>
#include <rtems.h>
#include <rtems/irq.h>
#include <mpc8xx.h>
#include <mpc8xx/cpm.h>
#include <mpc8xx/mmu.h>
#include <mpc8xx/console.h>
#include <bsp/vectors.h>
#include <bsp/tqm.h>
#include <bsp/default-initial-extension.h>

Go to the source code of this file.

Macros

#define BSP_HAS_TQMMON
 
#define NOCACHE_MEM_SIZE   512*1024
 
#define PGHPLUS_SPI_ADDR_EEPROM   0
 
#define PGHPLUS_SPI_ADDR_DISP4   1
 
#define PGHPLUS_SPI_ADDR_DISP4_DATA   (PGHPLUS_SPI_ADDR_DISP4)
 
#define PGHPLUS_SPI_ADDR_DISP4_CTRL   (PGHPLUS_SPI_ADDR_DISP4_DATA+1)
 
#define PGHPLUS_PB_SPI_EEP_CE_MSK   (1<< 0)
 
#define PGHPLUS_PB_SPI_DISP4_RS_MSK   (1<<15)
 
#define PGHPLUS_PB_SPI_DISP4_CE_MSK   (1<<14)
 

Functions

 LINKER_SYMBOL (TopRamReserved)
 
 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)
 
int BSP_disconnect_clock_handler (void)
 
int BSP_connect_clock_handler (rtems_irq_hdl)
 
char serial_getc (void)
 
int serial_tstc (void)
 
void serial_init (void)
 
int mbx8xx_console_get_configuration (void)
 
void _InitTQM8xx (void)
 
rtems_status_code bsp_register_spi (void)
 
void * bsp_idle_thread (uintptr_t ignored)
 Optimized idle task. More...
 
void cpu_init (void)
 

Variables

uint32_t BSP_bus_frequency
 
uint32_t bsp_clock_speed
 System clock frequency.
 

Detailed Description

Global BSP definitions.