From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web12.990.1576002199827961689 for ; Tue, 10 Dec 2019 10:23:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=lcWsY4Hz; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.65, mailfrom: pete@akeo.ie) Received: by mail-wm1-f65.google.com with SMTP id p9so4341607wmc.2 for ; Tue, 10 Dec 2019 10:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TXhxzwxOiqaSsplp+z/6XMF9Ac5TR7NdLRLRrzz/unE=; b=lcWsY4Hz7IvY5GHTY3pqMTzjgyDPc/d8Juw/jPQCHGq45GtJPm7P+5ovVsSsUiKKnn 45+ssZ24AgvahYgnAlMsUC68ARAXlYVkgSIC6MjCVyXVi3YOHQHJ8rE80fZy7X66m+ar +6wZeSp144gl50iS/d1hPVKHODd/VgzcrMPn/vCz4GfXxHg9HeL573wYKzzKS5GXeme1 5VOasKk4miLDLpRmCm287FnDFTabIzw14Q0+3RIjOkZ9CjPTuI85hT59zCc2DyXQZYqD oBAQMv17rJmH6XVDGxHVXmGYOVc0rFXBih738xluqYgREWbnY50NqIbniPyXUjCMYjby bEEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TXhxzwxOiqaSsplp+z/6XMF9Ac5TR7NdLRLRrzz/unE=; b=k2UJJkIoF7cIRPYK2VwP+Px1aPQ9KmLlS+hentE40PedkBnONU2QlOrhblGscHiz68 XC9IbllYz60nx4/j64Z3rz6DC20Vmxx77GpvB8c30AJE7yknpEcnSU34oJozlHX090jH AfHXd8nGIUGt5LdlRWOXSRscPZKoAzXpsUQhZVCKUniOtBhsHWScY8WLS2hicWIHyhQo ojBMqtSY1cuj6TAcgTm9FaPDnytKAEdPH/u3amB1NfFQkUxCPJW3QThi8A/sS3KaK6i7 WRRXYjnRUuBWqo3EmnFbSUJFwBkRqfcyS0858tvMPy+2OkZU2K1JR3uR39+Xr84irTdz nAMg== X-Gm-Message-State: APjAAAV3Y4dPcRqMe/Q/DujwCK8cWzwFJyaVgn0+QTcxmPrN1PTpo4sn QnhEQeAdVN7rEIV/uzjyvDY6SlnKPjs= X-Google-Smtp-Source: APXvYqym2nYA41LpxLpgU1H1WZtLx4cOAvVPYjQ7vh3PXDaWss++U8M8lf6UkL155dE8b+f4F5c7ew== X-Received: by 2002:a05:600c:1007:: with SMTP id c7mr7077636wmc.158.1576002198092; Tue, 10 Dec 2019 10:23:18 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.45.230]) by smtp.gmail.com with ESMTPSA id y139sm4313204wmd.24.2019.12.10.10.23.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Dec 2019 10:23:17 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com Subject: [edk2][PATCH 1/1] MdePkg/Include: Add DCC and BCM2835 SPCR UART types Date: Tue, 10 Dec 2019 18:23:04 +0000 Message-Id: <20191210182304.13540-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit As per the Microsoft Debug Port Table 2 (DBG2) documentation, that can be found online, we are missing 2 serial interface types for Arm DCC and Bcm2835 (the latter being used with the Raspberry Pi). These same types are present in DebugPort2Table.h so add them to SerialPortConsoleRedirectionTable.h too. Note that we followed the same idiosyncrasies as DebugPort2Table for naming these new macros. Signed-off-by: Pete Batard --- MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h index b069fb2be97f..2066c7895e59 100644 --- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h +++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h @@ -90,6 +90,16 @@ typedef struct { /// #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_ARM_SBSA_GENERIC_UART 0x0e +/// +/// ARM DCC +/// +#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_DCC 0x0f + +/// +/// BCM2835 UART +/// +#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_BCM2835_UART 0x10 + // // Interrupt Type // -- 2.21.0.windows.1