This unit interfaces directly with the UART 8250, 16540 or 16550. Therefore it is highly platform dependent. It has been written so, that it might be emulated easily on other platforms. Do use the same functions and parameters, and dependents from this unit continue to function normally.