From: Laszlo Ersek <lersek@redhat.com>
To: Liming Gao <liming.gao@intel.com>
Cc: edk2-devel@ml01.01.org
Subject: Re: [Patch] OvmfPkg AcpiTables: Use PcdDebugIoPort to describe QEMU debug console
Date: Wed, 16 Nov 2016 17:18:11 +0100 [thread overview]
Message-ID: <2a98ed18-2ed0-5a49-8a28-5bd9d1917e26@redhat.com> (raw)
In-Reply-To: <1479262207-25836-1-git-send-email-liming.gao@intel.com>
On 11/16/16 03:10, Liming Gao wrote:
> Cc: Laszlo Ersek <lersek@redhat.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Liming Gao <liming.gao@intel.com>
> ---
> OvmfPkg/AcpiTables/AcpiTables.inf | 4 ++++
> OvmfPkg/AcpiTables/Dsdt.asl | 2 +-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/OvmfPkg/AcpiTables/AcpiTables.inf b/OvmfPkg/AcpiTables/AcpiTables.inf
> index 1187a14..2c604c3 100644
> --- a/OvmfPkg/AcpiTables/AcpiTables.inf
> +++ b/OvmfPkg/AcpiTables/AcpiTables.inf
> @@ -37,4 +37,8 @@
>
> [Packages]
> MdePkg/MdePkg.dec
> + OvmfPkg/OvmfPkg.dec
> +
> +[Pcd]
> + gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort
>
> diff --git a/OvmfPkg/AcpiTables/Dsdt.asl b/OvmfPkg/AcpiTables/Dsdt.asl
> index 2c3a314..0397722 100644
> --- a/OvmfPkg/AcpiTables/Dsdt.asl
> +++ b/OvmfPkg/AcpiTables/Dsdt.asl
> @@ -581,7 +581,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 4) {
> IO (Decode16, 0x278, 0x278, 0x00, 0x08)
> IO (Decode16, 0x370, 0x370, 0x00, 0x02)
> IO (Decode16, 0x378, 0x378, 0x00, 0x08)
> - IO (Decode16, 0x402, 0x402, 0x00, 0x01) // QEMU debug console, should use FixedPcdGet16 (PcdDebugIoPort)
> + IO (Decode16, FixedPcdGet16 (PcdDebugIoPort), FixedPcdGet16 (PcdDebugIoPort), 0x00, 0x01)
> IO (Decode16, 0x440, 0x440, 0x00, 0x10)
> IO (Decode16, 0x678, 0x678, 0x00, 0x08)
> IO (Decode16, 0x778, 0x778, 0x00, 0x08)
>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Commit ad13d7d2d4a1.
Thank you, Liming!
Laszlo
next prev parent reply other threads:[~2016-11-16 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 2:10 [Patch] OvmfPkg AcpiTables: Use PcdDebugIoPort to describe QEMU debug console Liming Gao
2016-11-16 16:18 ` Laszlo Ersek [this message]
2016-11-18 3:42 ` Gary Lin
2016-11-18 4:58 ` Gao, Liming
2016-11-18 8:23 ` Gary Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a98ed18-2ed0-5a49-8a28-5bd9d1917e26@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox