RTEMS  5.1
Files | Macros | Functions | Variables

Motorola Board Support Package. More...

Files

file  bsp.h
 Global BSP definitions.
 

Macros

#define _IO_BASE   PREP_ISA_IO_BASE
 
#define _ISA_MEM_BASE   PREP_ISA_MEM_BASE
 
#define PCI_DRAM_OFFSET   PREP_PCI_DRAM_OFFSET
 
#define PCI_MEM_BASE   PREP_ISA_MEM_BASE
 
#define PCI_MEM_WIN0   0
 
#define BSP_UART_IOBASE_COM1   ((_IO_BASE)+0x3f8)
 
#define BSP_UART_IOBASE_COM2   ((_IO_BASE)+0x2f8)
 
#define BSP_KBD_IOBASE   ((_IO_BASE)+0x60)
 
#define BSP_VGA_IOBASE   ((_IO_BASE)+0x3c0)
 
#define BSP_CONSOLE_PORT   BSP_UART_COM1
 
#define BSP_UART_BAUD_BASE   115200
 
#define BSP_PIC_DO_EOI   openpic_eoi(0)
 
#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)))
 

Functions

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)
 
void VIA_isa_bridge_interrupts_setup (void)
 

Variables

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_commandline_string
 

Detailed Description

Motorola Board Support Package.