mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
term/ns8250-spcr: Add one more 16550 debug type
Type 0x01 was introduced with the ACPI DBGP table and type 0x12 was introduced with the ACPI DBG2 table. Type 0x12 is used by the ACPI SPCR table on recent AWS bare-metal instances (c6i/c7i). Also give each debug type a proper name. Signed-off-by: Udo Steinberg <udo@hypervisor.org> Reviewed-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
8abec8e153
commit
13b315c0a5
2 files changed
+5
-3
No files matched your search
@@ -38,7 +38,8 @@ grub_ns8250_spcr_init (void)
|
||||
grub_dprintf ("serial", "SPCR table revision %d < 2, continuing anyway\n",
|
||||
(int) spcr->hdr.revision);
|
||||
if (spcr->intf_type != GRUB_ACPI_SPCR_INTF_TYPE_16550 &&
|
||||
spcr->intf_type != GRUB_ACPI_SPCR_INTF_TYPE_16550X)
|
||||
spcr->intf_type != GRUB_ACPI_SPCR_INTF_TYPE_16550_DBGP &&
|
||||
spcr->intf_type != GRUB_ACPI_SPCR_INTF_TYPE_16550_DBG2)
|
||||
return NULL;
|
||||
/* For now, we only support byte accesses. */
|
||||
if (spcr->base_addr.access_size != GRUB_ACPI_GENADDR_SIZE_BYTE &&
|
||||
|
||||
Reference in new issue
Block a user