uart32_init

Initializes the on-chip UART to 8 data bits, 1 stop bit, and no parity (8250 compatible)

Description:

This assembly call initializes the on-chip UART to 8 data bits, 1 stop bit, and no parity (8250 compatible). The function is set up for a 32-bit protected-mode environment (x86 only).

On entry:

EAX
Baud rate.
EBX
Input clock in Hz (normally 1843200).
ECX
UART internal divisor (normally 16).
DX
UART base port.