<p>This change fixes the offset used when retrieving the iPXE stack pointer<br>
after a COM32 binary returns. The iPXE stack pointer is saved at the top<br>
of the available memory then the the top of the stack for the COM32<br>
binary is set just below it. However seven more items are pushed on the<br>
COM32 stack before the entry point is invoked so when the COM32 binary<br>
returns the location of the iPXE stack pointer is 28 (and not 24) bytes<br>
above the current stack pointer.</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/88'>https://github.com/ipxe/ipxe/pull/88</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>[com32] Fix iPXE stack pointer retrieval after COM32 binary returns.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/88/files#diff-0">src/arch/x86/image/com32.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/ipxe/ipxe/pull/88.patch'>https://github.com/ipxe/ipxe/pull/88.patch</a></li>
  <li><a href='https://github.com/ipxe/ipxe/pull/88.diff'>https://github.com/ipxe/ipxe/pull/88.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/88">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AArTVB0op43ijxNDyIj1FqbB2LCGDS6Rks5vK-QDgaJpZM4amzd5">mute the thread</a>.<img src="https://github.com/notifications/beacon/AArTVEOn3UFTQz1VDo-LVRLIPzUSx-mbks5vK-QDgaJpZM4amzd5.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ipxe/ipxe","title":"ipxe/ipxe","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/ipxe/ipxe"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"[com32] Fix iPXE stack pointer retrieval after COM32 binary returns. (#88)"}],"action":{"name":"View Pull Request","url":"https://github.com/ipxe/ipxe/pull/88"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/88",
"url": "https://github.com/ipxe/ipxe/pull/88",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>