public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Liu Pedroa <pedroa.liu@outlook.com>
To: "Kirkendall, Garrett" <Garrett.Kirkendall@amd.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: 答复: Question for memory type: EfiReservedMemoryType
Date: Wed, 22 Feb 2017 01:56:17 +0000	[thread overview]
Message-ID: <HKXPR02MB1863C607F46C72269CDBB0A88F500@HKXPR02MB1863.apcprd02.prod.outlook.com> (raw)
In-Reply-To: <DM2PR12MB0154BB6BEC9F12022129884D855D0@DM2PR12MB0154.namprd12.prod.outlook.com>

According to ACPI 6.1  Spec :

Platform runtime firmware can use the AddressRangeReserved address range type to block out 
various addresses as not suitable for use by a programmable device. Some of the reasons a platform 
runtime firmware would do this are:
? The address range contains system ROM.
? The address range contains RAM in use by the ROM.
? The address range is in use by a memory-mapped system device.
? The address range is, for whatever reason, unsuitable for a standard device to use as a device 
memory space.
? The address range is within an NVRAM device where reads and writes to memory locations are 
no longer successful, that is, the device was worn out.








-----邮件原件-----
发件人: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] 代表 Kirkendall, Garrett
发送时间: 2017年2月17日 23:55
收件人: edk2-devel@lists.01.org
主题: [edk2] Question for memory type: EfiReservedMemoryType

The UEFI spec says:
EfiReservedMemoryType - Not usable.

Some people take this to mean that you should not use this memory type.  Some think it will mark the memory as unusable by UEFI or OS.

Could the spec be updated to be more precise as to the meaning?

As far as I can tell, the code will allocate memory of type EfiReservedMemoryType and will not use that memory.

Garrett Kirkendall
SMTS Firmware Engineer | CTE
7171 Southwest Parkway, Austin, TX 78735 USA
AMD   facebook<https://www.facebook.com/AMD>  |  amd.com<http://www.amd.com/>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

      parent reply	other threads:[~2017-02-22  1:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 15:55 Question for memory type: EfiReservedMemoryType Kirkendall, Garrett
2017-02-17 16:13 ` Andrew Fish
2017-02-22  1:56 ` Liu Pedroa [this message]

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=HKXPR02MB1863C607F46C72269CDBB0A88F500@HKXPR02MB1863.apcprd02.prod.outlook.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