<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Core/RuntimeDxe/Runtime.c, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-02-09T22:16:32+00:00</updated>
<entry>
<title>MdeModulePkg: Align RuntimeDxe function headers with UEFI return values</title>
<updated>2024-02-09T22:16:32+00:00</updated>
<author>
<name>Suqiang Ren</name>
<email>suqiangx.ren@intel.com</email>
</author>
<published>2024-02-02T08:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ef4d35d4ed45c41dc1e56c313bf6ea0f43b7c241'/>
<id>urn:sha1:ef4d35d4ed45c41dc1e56c313bf6ea0f43b7c241</id>
<content type='text'>
RuntimeDxe is used to back the runtime services time functions,
so align the description of the function return values with the
defined values for these services as described in UEFI Spec 2.10.

REF: UEFI spec 2.10 section 8 Services ? Runtime Services

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Suqiang Ren &lt;suqiangx.ren@intel.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/RuntimeDxe: clear mVirtualMapMaxIndex</title>
<updated>2022-02-07T05:31:17+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2022-01-21T12:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f78b937c95ddc4f7a29e41fee98e96076828a108'/>
<id>urn:sha1:f78b937c95ddc4f7a29e41fee98e96076828a108</id>
<content type='text'>
When setting mVirtualMap to NULL also set mVirtualMapMaxIndex to 0.
Without that RuntimeDriverConvertPointer() will go search the ZeroPage
for EFI_MEMORY_DESCRIPTOR entries.

In case mVirtualMapMaxIndex happens to be small small enough that'll go
unnoticed, the search will not find anything and EFI_NOT_FOUND will be
returned.

In case mVirtualMapMaxIndex is big enough the search will reach the end
of the ZeroPage and trigger a page fault.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1436aea4d5707e672672a11bda72be2c63c936c3'/>
<id>urn:sha1:1436aea4d5707e672672a11bda72be2c63c936c3</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the MdeModulePkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: document workaround for EFI_RUNTIME_EVENT_ENTRY PI spec bug</title>
<updated>2019-10-09T07:40:09+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2019-09-07T11:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d342d318e9da83031841b602012699039c2e99bb'/>
<id>urn:sha1:d342d318e9da83031841b602012699039c2e99bb</id>
<content type='text'>
The PI spec (v1.7) correctly specifies "EFI_RUNTIME_EVENT_ENTRY.Event" in
natural language, but the field type in the structure definition itself is
wrong -- it should be EFI_EVENT, not (EFI_EVENT*).

This spec bug is likely unfixable for compatibility reasons, and so edk2
works it around already. We should clearly document the workaround.

Functionally, this patch is a no-op.

(I've also requested a non-normative (informative) clarification for the
PI spec: &lt;https://mantis.uefi.org/mantis/view.php?id=2017&gt;.)

Cc: Dandan Bi &lt;dandan.bi@intel.com&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:58:08+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:05:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9d510e61fceee7b92955ef9a3c20343752d8ce3f'/>
<id>urn:sha1:9d510e61fceee7b92955ef9a3c20343752d8ce3f</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Hao Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Update modules to consume CalculateCrc32()</title>
<updated>2017-10-10T10:10:16+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2017-09-08T05:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=05542f49877f9047c536b61fd8f15dd4c4496b4b'/>
<id>urn:sha1:05542f49877f9047c536b61fd8f15dd4c4496b4b</id>
<content type='text'>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Reviewed-by: Star Zeng &lt;star.zeng@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap.</title>
<updated>2015-04-10T01:37:41+00:00</updated>
<author>
<name>Elvin Li</name>
<email>elvin.li@intel.com</email>
</author>
<published>2015-04-10T01:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b0121d768d7cd25aa39b2140a93740a47f6f1fa0'/>
<id>urn:sha1:b0121d768d7cd25aa39b2140a93740a47f6f1fa0</id>
<content type='text'>
Roll back report status code to original place in RuntimeDriverSetVirtualAddressMap.
Per UEFI spec, the call to SetVirtualAddressMap() must be done with the physical mappings.
We can not assume virtual address could work in SetVirtualAddressMap (), so we can not call
report status code interface with virtual address.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li &lt;elvin.li@intel.com&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17139 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>MdeModulePkg: Put report status code at the end of RuntimeDriverSetVirtualAddressMap.</title>
<updated>2015-04-09T08:31:42+00:00</updated>
<author>
<name>Elvin Li</name>
<email>elvin.li@intel.com</email>
</author>
<published>2015-04-09T08:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=53deb15e3a3d7180701585f280d0f952d19d44d9'/>
<id>urn:sha1:53deb15e3a3d7180701585f280d0f952d19d44d9</id>
<content type='text'>
Move report status code to the end after all pointers convert and image relocation are finished.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li &lt;elvin.li@intel.com&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17136 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>MdeModulePkg: Put report status code after event was signaled per PI spec.</title>
<updated>2015-04-07T03:31:17+00:00</updated>
<author>
<name>Elvin Li</name>
<email>elvin.li@intel.com</email>
</author>
<published>2015-04-07T03:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bd1957b442eadf1a6f5d2d0397da6ccd183b5ef2'/>
<id>urn:sha1:bd1957b442eadf1a6f5d2d0397da6ccd183b5ef2</id>
<content type='text'>
For PI spec vol3, 
"EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT  The EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event was signaled."
However, in current code base, it is reported before events were signaled. 

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li &lt;elvin.li@intel.com&gt;
Reviewed-by: Ruiyu Ni &lt;ruiyu.ni@intel.com&gt;

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17123 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
<entry>
<title>Add missing status code in several modules.</title>
<updated>2012-10-30T04:23:40+00:00</updated>
<author>
<name>li-elvin</name>
<email>li-elvin@6f19259b-4bc3-4df7-8a09-765794883524</email>
</author>
<published>2012-10-30T04:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=37623a5c029e5415fe24b86bf4f6481f8fdfad94'/>
<id>urn:sha1:37623a5c029e5415fe24b86bf4f6481f8fdfad94</id>
<content type='text'>
Signed-off-by: Li Elvin &lt;elvin.li@intel.com&gt;
Reviewed-by: Yao Jiewen &lt;jiewen.yao@intel.com&gt;
Reviewed-by: Ni Ruiyu &lt;ruiyu.ni@intel.com&gt;
Reviewed-by: Gao Liming &lt;liming.gao@intel.com&gt;
Reviewed-by: Tian Feng &lt;feng.tian@intel.com&gt;
Reviewed-by: Fan Jeff &lt;jeff.fan@intel.com&gt;


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13890 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
</feed>
