RTEMS
5.0.0
|
Global BSP definitions. More...
#include <bspopts.h>
#include <bsp/default-initial-extension.h>
#include <rtems.h>
#include <libcpu/io.h>
#include <bsp/vectors.h>
#include <bsp/openpic.h>
Go to the source code of this file.
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))) |
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 |
Global BSP definitions.