Move low-level hardware writing from output.c to new file hw/serialio.c.

Avoid hardware specific code in output.c.  This will reduce the amount
of change needed to output.c as support for more serial hardware is

This patch also renames some functions to improve the naming scheme.

Signed-off-by: Kevin O'Connor <>
13 files changed