public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "memristor2 via groups.io" <memristor2=proton.me@groups.io>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] Execution of TempRamInitApi doesn't return.
Date: Tue, 24 Dec 2024 14:42:54 +0000	[thread overview]
Message-ID: <V4ow3BYgFKiuxYAijeoXpRNNMX5dfmWUOmc9KgWXP6HUB26gHU_gNqF9h6hmHGzCiZ57MJ3kQe2HHnMMrJKsxDCq8AU4I6AwJGNerzYHbQ0=@proton.me> (raw)

[-- Attachment #1: Type: text/plain, Size: 1197 bytes --]

Hello everyone,
I am trying to build an Intel platform's customized UEFI.
I have extracted the microcode and FSP binaries from the vendors UEFI image successfully. I also changed the PlatformPkg and FspFlashOffset FDF files. Execution goes on fine up until the last line of this subroutine:

FspHeaderFound:
; Get the fsp TempRamInit Api address
mov eax, dword [edi + FSP_HEADER_IMAGEBASE_OFFSET]
add eax, dword [edi + FSP_HEADER_TEMPRAMINIT_OFFSET]
; Setup the hardcode stack
mov esp, TempRamInitStack
; Call the fsp TempRamInit Api jmp eax

I have checked the address of TempRamInit Entry which matched the address inside the FSP header.
but somehow it doesn't return to the TempRamInitDone subroutine. I have no idea why this happens. I also changed the UPD parameters to match the signature of the target platform.
Any thoughts on this?

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120933): https://edk2.groups.io/g/devel/message/120933
Mute This Topic: https://groups.io/mt/110272463/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 3733 bytes --]

                 reply	other threads:[~2024-12-24 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='V4ow3BYgFKiuxYAijeoXpRNNMX5dfmWUOmc9KgWXP6HUB26gHU_gNqF9h6hmHGzCiZ57MJ3kQe2HHnMMrJKsxDCq8AU4I6AwJGNerzYHbQ0=@proton.me' \
    --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