cperciva 774c078edd Use ACPI SPCR on x86
This takes the SPCR code currently in uart_cpu_arm64.c, moves it into
a new uart_cpu_acpi.c (with some associated refactoring), and uses it
from both arm64 and x86.

An SPCR serial port address AccessWidth field value of 0 ("reserved")
is now treated as 1 ("byte access") in order to work around a buggy
SPCR table on Amazon EC2 i3.metal instances.

Reviewed by:	manu, Greg V
MFC after:	3 days
Sponsored by:	https://www.patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D20357
2019-05-23 19:55:53 +00:00
..
2019-05-23 19:55:53 +00:00
2019-05-17 15:23:10 +00:00
2019-05-17 15:20:51 +00:00
2019-02-19 19:36:56 +00:00
2018-11-01 23:11:47 +00:00
2018-11-01 23:11:47 +00:00
2019-05-17 15:24:44 +00:00
2019-05-02 18:10:23 +00:00