Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
early_serial_console.c File Reference
#include "boot.h"

Go to the source code of this file.

Macros

#define DEFAULT_SERIAL_PORT   0x3f8 /* ttyS0 */
 
#define XMTRDY   0x20
 
#define DLAB   0x80
 
#define TXR   0 /* Transmit register (WRITE) */
 
#define RXR   0 /* Receive register (READ) */
 
#define IER   1 /* Interrupt Enable */
 
#define IIR   2 /* Interrupt ID */
 
#define FCR   2 /* FIFO control */
 
#define LCR   3 /* Line control */
 
#define MCR   4 /* Modem control */
 
#define LSR   5 /* Line Status */
 
#define MSR   6 /* Modem Status */
 
#define DLL   0 /* Divisor Latch Low */
 
#define DLH   1 /* Divisor latch High */
 
#define DEFAULT_BAUD   9600
 
#define BASE_BAUD   (1843200/16)
 

Functions

void console_init (void)
 

Macro Definition Documentation

#define BASE_BAUD   (1843200/16)

Definition at line 98 of file early_serial_console.c.

#define DEFAULT_BAUD   9600

Definition at line 21 of file early_serial_console.c.

#define DEFAULT_SERIAL_PORT   0x3f8 /* ttyS0 */

Definition at line 3 of file early_serial_console.c.

#define DLAB   0x80

Definition at line 7 of file early_serial_console.c.

#define DLH   1 /* Divisor latch High */

Definition at line 19 of file early_serial_console.c.

#define DLL   0 /* Divisor Latch Low */

Definition at line 18 of file early_serial_console.c.

#define FCR   2 /* FIFO control */

Definition at line 13 of file early_serial_console.c.

#define IER   1 /* Interrupt Enable */

Definition at line 11 of file early_serial_console.c.

#define IIR   2 /* Interrupt ID */

Definition at line 12 of file early_serial_console.c.

#define LCR   3 /* Line control */

Definition at line 14 of file early_serial_console.c.

#define LSR   5 /* Line Status */

Definition at line 16 of file early_serial_console.c.

#define MCR   4 /* Modem control */

Definition at line 15 of file early_serial_console.c.

#define MSR   6 /* Modem Status */

Definition at line 17 of file early_serial_console.c.

#define RXR   0 /* Receive register (READ) */

Definition at line 10 of file early_serial_console.c.

#define TXR   0 /* Transmit register (WRITE) */

Definition at line 9 of file early_serial_console.c.

#define XMTRDY   0x20

Definition at line 5 of file early_serial_console.c.

Function Documentation

void console_init ( void  )

Definition at line 145 of file early_serial_console.c.