From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in4.apple.com (mail-out4.apple.com [17.151.62.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2D83681F53 for ; Fri, 17 Feb 2017 08:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1487347993; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DMHzY9z4GVMyZzgo0TOZjiiU/Yod/cyZy7IPxOd5WFk=; b=oMF1dyB44ah5g6YETU5AkMo+xAAA5uBTJ5zBG80P+EshanLgxMzJGldUe+mEjCNH PnwMavZBR7IIJELpgYCDA54JKbKWrKcgGGqZOBRc+b9RmoQnjS3nxoe53yAFs2hN KNMTJCzz8eAsSYjDr5pTOlPzNYtCly3c3BZNvB3VHfJrFEvygTTkJpXnFoKnuAsM TqSSvUPk0Qh31yB2oNkkzHaiYVNYsJARjpz0V1srzpSJz9i/1d8qmbKAByqEPNEC IiP6I5PJGMLJ8YQFagFKlTp9cNVsZgJ4v0jytwNMvlSxy8PQb6e2F1OQ+SLZWMsf cjC+fHqS139j5Dxku7ofQg==; Received: from relay6.apple.com (relay6.apple.com [17.128.113.90]) by mail-in4.apple.com (Apple Secure Mail Relay) with SMTP id 26.2D.23463.91127A85; Fri, 17 Feb 2017 08:13:13 -0800 (PST) X-AuditID: 11973e12-222fd9a000005ba7-ae-58a721195693 Received: from nwk-mmpp-sz09.apple.com (nwk-mmpp-sz09.apple.com [17.128.115.80]) by relay6.apple.com (Apple SCV relay) with SMTP id EF.73.04914.91127A85; Fri, 17 Feb 2017 08:13:13 -0800 (PST) MIME-version: 1.0 Received: from [17.153.70.48] (unknown [17.153.70.48]) by nwk-mmpp-sz09.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170210 64bit (built Feb 10 2017)) with ESMTPSA id <0OLJ005OI121TI50@nwk-mmpp-sz09.apple.com>; Fri, 17 Feb 2017 08:13:13 -0800 (PST) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Fri, 17 Feb 2017 08:13:12 -0800 Cc: "edk2-devel@lists.01.org" Message-id: References: To: "Kirkendall, Garrett" X-Mailer: Apple Mail (2.3226) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsUi2FAYpSupuDzCYPE+Y4s9h44yW0w6vYTN gcmj9dJfNo/u2f9YApiiuGxSUnMyy1KL9O0SuDLaGj6xFWzgrLj27wpbA+MJ9i5GTg4JAROJ vp9NzF2MXBxCAnsZJd5cW8EMk5hwewITROIgo8Te1ReZQBK8AoISPybfY+li5OBgFpCXOHhe FiTMLKAl8f1RKwtEfT+TxO1Dz1hAEsIC4hLvzmxiBqkXFnCWePfJACTMJqAssWL+B7AjOAXi JfY/g7BZBFQlTs5ZxAgx01xixoUvUGttJKatPcUGYgsJxEl0/9wGNl5EwEyi9/B3sHMkBGQl Zv/yAjlBQmADm8T/SXuYJjAKz0Jy9SyEq2chuXoBI/MqRqHcxMwc3cw8E73EgoKcVL3k/NxN jKCwnm4ntIPx1CqrQ4wCHIxKPLwO3MsjhFgTy4orcw8xSnOwKInzrnBeFiEkkJ5YkpqdmlqQ WhRfVJqTWnyIkYmDU6qBsS838VXRy4cdmfcVorcnnOaz8zNdfVJ5perthxNPrgr8F3DEjH3b tzlMFxKOrk1T2eFcL5H1gfnG6888mbNTgibW35c5n98s2nc4PI2fdePV/+H/+ebZH+/akh0+ bdvcZW95GzYoG3uEdylmHpV/tfz8baveJQemqmd/1bcufzSzlem0mLD7EiWW4oxEQy3mouJE ALzWo31MAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeLIzCtJLcpLzFFi42IRbCgO0JVUXB5h8OqjnsWeQ0eZLSadXsLm wOTReukvm0f37H8sAUxRXDYpqTmZZalF+nYJXBltDZ/YCjZwVlz7d4WtgfEEexcjJ4eEgInE hNsTmCBsMYkL99azdTFycQgJHGSU2Lv6IliCV0BQ4sfkeyxdjBwczALyEgfPy4KEmQW0JL4/ amWBqO9nkrh96BkLSEJYQFzi3ZlNzCD1wgLOEu8+GYCE2QSUJVbM/wC2l1MgXmL/MwibRUBV 4uScRYwQM80lZlz4ArXWRmLa2lNsILaQQJxE989tYONFBMwkeg9/BztHQkBWYvYvrwmMgrOQ HDoL4dBZSA5dwMi8ilGgKDUnsdJML7GgICdVLzk/dxMjODwLo3YwNiy3OsQowMGoxMPrwL08 Qog1say4MvcQowQHs5IIb5MoUIg3JbGyKrUoP76oNCe1+BBjMtD5E5mlRJPzgbGTVxJvaGJi YGJsbGZsbG5iTpqwkjhvktSyCCGB9MSS1OzU1ILUIpgtTBycUg2M5udmGbKar7e6/qDfXXZj 0KrOSzdtY6fFLlmnq7A3a7Gg4MnzC9dcunB726yn7HOZGMTtw9t+yrgwyC2T4wqp3LFLv9i+ 3tdz981TV2TczON2uD/uVa75JRyWvfqj+iMpS2ZjT83O7Sn3pfcvvc+c/frRbzPXVFFLm+Oz X3mf/bIhep/XvwZxJZbijERDLeai4kQApdcbNZMCAAA= Subject: Re: Question for memory type: EfiReservedMemoryType X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2017 16:13:14 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Feb 17, 2017, at 7:55 AM, Kirkendall, Garrett wrote: > > 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, The UEFI Spec is written from an Option ROM (EFI Driver) and OS Loader point of view. Basically PI components (Platform Firmware in the ROM) can use the EfiReservedMemoryType. I've seen S3 and SMM code that allocates EfiReservedMemoryType to hide a memory region from the OS that does not require a virtual mapping. Thanks, Andrew Fish > Garrett Kirkendall > SMTS Firmware Engineer | CTE > 7171 Southwest Parkway, Austin, TX 78735 USA > AMD facebook | amd.com > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel