RTEMS: bsps/powerpc/beatnik/include/bsp.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Enumerations | Functions | Variables
bsp.h File Reference
Board Support Packages » PowerPC » Beatnik (MVME5500 and MVME6100)

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 | BSP_INTERRUPT_STACK_SIZE (16 * 1024)
#define | BSP_MV64x60_BASE (0xf1000000)
#define | BSP_MV64x60_DEV1_BASE (0xf1100000)
#define | BSP_UART_IOBASE_COM1 ((BSP_MV64x60_DEV1_BASE)+0x20000)
#define | BSP_UART_IOBASE_COM2 ((BSP_MV64x60_DEV1_BASE)+0x21000)
#define | BSP_UART_USE_SHARED_IRQS
#define | BSP_NVRAM_BASE_ADDR (0xf1110000)
#define | BSP_NVRAM_END_ADDR (0xf1117fff)
#define | BSP_NVRAM_RTC_START (0xf1117ff8)
#define | BSP_NVRAM_BOOTPARMS_START (0xf1111000)
#define | BSP_NVRAM_BOOTPARMS_END (0xf1111fff)
#define | PCI_CONFIG_ADDR (BSP_MV64x60_BASE + 0xcf8)
#define | PCI_CONFIG_DATA (BSP_MV64x60_BASE + 0xcfc)
#define | _IO_BASE 0x00000000
#define | PCI_MEM_BASE 0
#define | PCI_MEM_BASE_ADJUSTMENT 0
#define | PCI_DRAM_OFFSET 0
#define | BSP_PCI2LOCAL_ADDR(a) ((uint32_t)(a))
#define | BSP_LOCAL2PCI_ADDR(a) ((uint32_t)(a))
#define | BSP_CONFIG_NUM_PCI_CACHE_SLOTS 32
#define | BSP_CONSOLE_PORT BSP_UART_COM1
#define | BSP_UART_BAUD_BASE 115200
#define | BSP_VPD_I2C_ADDR (0xA8>>1) /* the VPD EEPROM */
#define | BSP_USR_I2C_ADDR (0xAA>>1) /* the user EEPROM */
#define | BSP_THM_I2C_ADDR (0x90>>1) /* the DS1621 temperature sensor & thermostat */
#define | BSP_I2C_BUS_DESCRIPTOR gt64260_i2c_bus_descriptor
#define | BSP_I2C_BUS0_NAME "/dev/i2c0"
#define | BSP_I2C_VPD_EEPROM_NAME "vpd-eeprom"
#define | BSP_I2C_USR_EEPROM_NAME "usr-eeprom"
#define | BSP_I2C_DS1621_NAME "ds1621"
#define | BSP_I2C_THM_NAME BSP_I2C_DS1621_NAME
#define | BSP_I2C_DS1621_RAW_NAME "ds1621-raw"
#define | BSP_I2C_VPD_EEPROM_DEV_NAME (BSP_I2C_BUS0_NAME ", " BSP_I2C_VPD_EEPROM_NAME)
#define | BSP_I2C_USR_EEPROM_DEV_NAME (BSP_I2C_BUS0_NAME ", " BSP_I2C_USR_EEPROM_NAME)
#define | BSP_I2C_DS1621_DEV_NAME (BSP_I2C_BUS0_NAME ", " BSP_I2C_DS1621_NAME)
#define | BSP_I2C_THM_DEV_NAME BSP_I2C_DS1621_DEV_NAME
#define | BSP_I2C_DS1621_RAW_DEV_NAME (BSP_I2C_BUS0_NAME ", " BSP_I2C_DS1621_RAW_NAME)
#define | BSP_PCI_HOSE0_MEM_BASE 0x80000000 /* must be aligned to size */
#define | BSP_PCI_HOSE0_MEM_SIZE 0x20000000
#define | BSP_PCI_HOSE1_MEM_BASE 0xe0000000
#define | BSP_DEV_AND_PCI_IO_BASE 0xf0000000
#define | BSP_DEV_AND_PCI_IO_SIZE 0x10000000
#define | BSP_RW_PAGE_ATTRIBUTES TRIV121_ATTR_M
#define | BSP_EXCEPTION_NOTEPAD 14
#define | outport_byte(port, value) outb(value,port)
#define | outport_word(port, value) outw(value,port)
#define | outport_long(port, value) outl(value,port)
#define | inport_byte(port, value) (value = inb(port))
#define | inport_word(port, value) (value = inw(port))
#define | inport_long(port, value) (value = inl(port))
#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)))

## Enumerations
enum | BSP_BoardType { Unknown = 0 , MVME5500 , MVME6100 }
enum | DiscoveryVersion { unknown = 0 , GT_64260_A , GT_64260_B , MV_64360 }

## Functions
BSP_BoardType | BSP_getBoardType (void)
DiscoveryVersion | BSP_getDiscoveryVersion (int assertion)
void | BSP_motload_pci_fixup (void)
int | BSP_i2c_initialize (void)
void | BSP_pci_initialize (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)
void | discovery_pic_set_debug_irq (int on)
void | discovery_pic_install_debug_irq (void)
char * | save_boot_params (void *r3, void *r4, void *r5, char *cmdline_start, char *cmdline_end)
void | zero_bss (void)
uint32_t | probeMemoryEnd (void)

## Variables
unsigned | BSP_pci_hose1_bus_base
unsigned int | BSP_mem_size
unsigned int | BSP_heap_start
unsigned int | BSP_bus_frequency
unsigned int | BSP_processor_frequency
unsigned int | BSP_time_base_divisor
char | BSP_productIdent [20]
char | BSP_serialNumber [20]
char | BSP_enetAddr0 [7]
char | BSP_enetAddr1 [7]
char * | BSP_commandline_string
unsigned short(* | _BSP_clear_vmebridge_errors )(int)

## Detailed Description

Global BSP definitions.