added x86_common stuff, starting with serial.c