public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Felix Poludov <Felixp@ami.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: [PATCH] MdePkg: Add PcdPciExpressRegionLength PCD Token
Date: Wed, 2 Aug 2017 13:48:03 +0000	[thread overview]
Message-ID: <9333E191E0D52B4999CE63A99BA663A00302B394A5@atlms1.us.megatrends.com> (raw)

Add PcdPciExpressRegionLength PCD Token to MdePkg.
The new token can be used in conjunction with PcdPciExpressBaseAddress PCD token to describe PCI Express MMIO region.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Felix Polyudov <felixp@ami.com>
---

Resending with inline patch.

--
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index d6928b3..7e55019 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -2089,6 +2089,10 @@
   # @Prompt PCI Express Base Address.
   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000|UINT64|0x0000000a
+  ## Length of the PCI express region.
+  # @Prompt PCI Express Region Length.
+  gEfiMdePkgTokenSpaceGuid.PcdPciExpressRegionLength|0x10000000|UINT32|0x00000031
+
   ## Default current ISO 639-2 language: English & French.
   # @Prompt Default Value of LangCodes Variable.
   gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangCodes|"engfraengfra"|VOID*|0x0000001c
diff --git a/MdePkg/MdePkg.uni b/MdePkg/MdePkg.uni
index a110e45..62df5dc 100644
--- a/MdePkg/MdePkg.uni
+++ b/MdePkg/MdePkg.uni
@@ -276,6 +276,10 @@
 #string STR_gEfiMdePkgTokenSpaceGuid_PcdPciExpressBaseAddress_HELP  #language en-US "This value is used to set the base address of PCI express hierarchy."
+#string STR_gEfiMdePkgTokenSpaceGuid_PcdPciExpressRegionLength_PROMPT  #language en-US "PCI Express Region Length"
+
+#string STR_gEfiMdePkgTokenSpaceGuid_PcdPciExpressRegionLength_HELP  #language en-US "Length of the PCI express region."
+
#string STR_gEfiMdePkgTokenSpaceGuid_PcdUefiVariableDefaultLangCodes_PROMPT  #language en-US "Default Value of LangCodes Variable"
 #string STR_gEfiMdePkgTokenSpaceGuid_PcdUefiVariableDefaultLangCodes_HELP  #language en-US "Default current ISO 639-2 language: English & French."
--

Please consider the environment before printing this email.

The information contained in this message may be confidential and proprietary to American Megatrends, Inc.  This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited.  Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.


             reply	other threads:[~2017-08-02 13:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 13:48 Felix Poludov [this message]
2017-08-02 13:56 ` [PATCH] MdePkg: Add PcdPciExpressRegionLength PCD Token Marvin H?user
2017-08-02 16:30   ` Felix Poludov
  -- strict thread matches above, loose matches on Subject: below --
2017-08-01 20:55 Felix Poludov
2017-08-02  2:20 ` Gao, Liming

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=9333E191E0D52B4999CE63A99BA663A00302B394A5@atlms1.us.megatrends.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