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

Global BSP definitions. More...

#include <bspopts.h>
#include <bsp/default-initial-extension.h>
#include <rtems.h>
#include <libcpu/io.h>
#include <bsp/vectors.h>

Go to the source code of this file.

Macros

#define _256M   0x10000000
 
#define _512M   0x20000000
 
#define GT64x60_REG_BASE   0xf1000000 /* Base of GT64260 Reg Space */
 
#define GT64x60_REG_SPACE_SIZE   0x10000 /* 64Kb Internal Reg Space */
 
#define GT64x60_DEV1_BASE
 
#define GT64260_DEV1_SIZE   0x00100000 /* Device bank size */
 
#define _IO_BASE   GT64x60_REG_BASE
 
#define BSP_NVRAM_BASE_ADDR   0xf1110000
 
#define BSP_RTC_INTA_REG   0x7ff0
 
#define BSP_RTC_SECOND   0x7ff2
 
#define BSP_RTC_MINUTE   0x7ff3
 
#define BSP_RTC_HOUR   0x7ff4
 
#define BSP_RTC_DATE   0x7ff5
 
#define BSP_RTC_INTERRUPTS   0x7ff6
 
#define BSP_RTC_WATCHDOG   0x7ff7
 
#define PCI0_IO_BASE   0xf0000000
 
#define PCI1_IO_BASE   0xf0800000
 
#define PCI0_MEM_BASE   0x80000000
 
#define PCI_MEM_BASE   0 /* glue for vmeUniverse */
 
#define PCI_MEM_BASE_ADJUSTMENT   0
 
#define PCI_DRAM_OFFSET   0
 
#define PCI1_MEM_BASE   0xe0000000
 
#define PCI1_MEM_SIZE   0x10000000
 
#define BSP_MAX_PCI_BUS_ON_PCI0   8
 
#define BSP_MAX_PCI_BUS_ON_PCI1   2
 
#define BSP_MAX_PCI_BUS   (BSP_MAX_PCI_BUS_ON_PCI0+BSP_MAX_PCI_BUS_ON_PCI1)
 
#define BSP_PCI_IRQ0   BSP_GPP_IRQ_LOWEST_OFFSET
 
#define BSP_INTERRUPT_STACK_SIZE   (16 * 1024) /* <skf> 2/09 wants it to be adjustable by BSP */
 
#define BSP_UART_IOBASE_COM1   GT64x60_DEV1_BASE + 0x20000
 
#define BSP_UART_IOBASE_COM2   GT64x60_DEV1_BASE + 0x21000
 
#define BSP_CONSOLE_PORT   BSP_UART_COM1 /* console */
 
#define BSP_UART_BAUD_BASE   115200
 
#define BSP_Convert_decrementer(_value)   ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
 
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "wmG1"
 
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   rtems_i82544EI_driver_attach
 
#define gccMemBar()   RTEMS_COMPILER_MEMORY_BARRIER()
 

Enumerations

enum  BSP_BoardTypes { undefined = 0, MVME5500, MVME6100 }
 
enum  BSP_VMEchipTypes { Undefined, UNIVERSE2, TSI148 }
 
enum  DiscoveryChipVersion { notdefined, GT64260A, GT64260B, MV64360 }
 

Functions

BSP_BoardTypes BSP_getBoardType (void)
 
BSP_VMEchipTypes BSP_getVMEchipType (void)
 
DiscoveryChipVersion BSP_getDiscoveryChipVersion (void)
 
void bsp_reset (void)
 
int BSP_disconnect_clock_handler (void)
 
int BSP_connect_clock_handler (void)
 
unsigned long _BSP_clear_hostbridge_errors (int enableMCP, int quiet)
 
char * save_boot_params (void *r3, void *r4, void *r5, char *cmdline_start, char *cmdline_end)
 
void zero_bss (void)
 
uint32_t probeMemoryEnd (void)
 
void pci_interface (void)
 
void BSP_printPicIsrTbl (void)
 
int I2Cread_eeprom (unsigned char I2cBusAddr, uint32_t devA2A1A0, uint32_t AddrBytes, unsigned char *pBuff, uint32_t numBytes)
 
int RTEMS_BSP_NETWORK_DRIVER_ATTACH (struct rtems_bsdnet_ifconfig *, int)
 

Variables

unsigned int BSP_mem_size
 
unsigned int BSP_bus_frequency
 
unsigned int BSP_processor_frequency
 
unsigned int BSP_time_base_divisor
 

Detailed Description

Global BSP definitions.