RTEMS: bsps/mips/malta/console/conscfg.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Variables
conscfg.c File Reference
`#include <unistd.h>`
`#include <bsp.h>`
`#include <libchip/serial.h>`
`#include <libchip/ns16550.h>`
`#include <rtems/pci.h>`
`#include <bsp/irq.h>`

## Macros
#define | COM_CONSOLE_FUNCTIONS &ns16550_fns_polled
#define | COM1_BASE_IO 0x3F8
#define | COM2_BASE_IO 0x3E8
#define | CLOCK_RATE (115200 * 16)
#define | COM_IO_BASE_ADDRESS (0xa0000000UL | 0x18000000UL)

## Variables
console_tbl | Console_Configuration_Ports []
unsigned long | Console_Configuration_Count

## Detailed Description

This file contains the libchip configuration information to instantiate the libchip driver for the serial ports.

## Variable Documentation

## ◆ Console_Configuration_Count

unsigned long Console_Configuration_Count

Initial value:
=
(sizeof(Console_Configuration_Ports)/sizeof(console_tbl))
Console_Configuration_Ports
console_tbl Console_Configuration_Ports[]
Definition: conscfg.c:65
_console_tbl
Definition: serial.h:117

The number of serial ports defined in Console_Configuration_Ports

## ◆ Console_Configuration_Ports

console_tbl Console_Configuration_Ports[]

The statically configured serial port information tables which are used to initially populate the dynamic tables.