<p>iPXE added a workaround to raise TPL to TPL_CALLBACK always, but it<br>
would cause UEFI firmware exit boot service callback with the same TPL<br>
level cannot be executed. Worse, some UEFI modules set a pointer at exit<br>
boot service callback and use later, then will encounter exception /<br>
hang for invalid pointer which is not set to a correct one since the<br>
exit boot service callback is not executed.</p>
<p>The solution is to restore the TPL to the original one but not always<br>
set it to TPL_CALLBACK.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/ipxe/ipxe/pull/113'>https://github.com/ipxe/ipxe/pull/113</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>[efi] Restore the TPL to the original one</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/113/files#diff-8abaf825db412e28b0c57b0f8947ed23">src/interface/efi/efi_timer.c</a>
    (11)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/ipxe/ipxe/pull/113.patch'>https://github.com/ipxe/ipxe/pull/113.patch</a></li>
  <li><a href='https://github.com/ipxe/ipxe/pull/113.diff'>https://github.com/ipxe/ipxe/pull/113.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/113">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVGBJINWCPK7YATVC4TRTWLXVANCNFSM4NMSFYRA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVCUFTSQTTPQBOXMD43RTWLXVA5CNFSM4NMSFYRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JKRNLDQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/113",
"url": "https://github.com/ipxe/ipxe/pull/113",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>