public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: "Zeng, Star" <star.zeng@intel.com>,
	Hristo Mihaylov <hristo.mihaylov@prodrive-technologies.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: DxeIpl module cannot find DXE entry point
Date: Wed, 15 Aug 2018 12:26:27 +0200	[thread overview]
Message-ID: <a9a56406-b2cb-4771-bd6e-4f1d0e2ea305@redhat.com> (raw)
In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103BBAD3DE@shsmsx102.ccr.corp.intel.com>

On 08/15/18 02:38, Zeng, Star wrote:
> You may try report the FVMAIN_COMPACT with the way like below. Then PeiCore's FvInfo notification will decompress the FVMAIN_COMPACT and build FV HOB for decompressed FVMAIN for DXE phase. FvInfo is the standard way, FvHob is produce for DXE phase. PeiCore only processes FvHob when PcdFrameworkCompatibilitySupport = TRUE.
> 
>   //
>   // Let PEI know about the DXE FV so it can find the DXE Core
>   //
>   PeiServicesInstallFvInfoPpi (
>     NULL,
>     (VOID *)(UINTN) PcdGet32 (PcdOvmfDxeMemFvBase),
>     PcdGet32 (PcdOvmfDxeMemFvSize),
>     NULL,
>     NULL
>     );

Ah, right! I should have looked at the comments in PeiFvInitialization()
[OvmfPkg/PlatformPei/Fv.c], from Jordan's commit b36f701d4f925.

The function calls both BuildFvHob() and PeiServicesInstallFvInfoPpi(),
and the comments on them explain the different purposes. One is for the
DXE Core to dispatch drivers from, the other is for the PEI Core to find
the DXE Core in.

Thanks!
Laszlo


      parent reply	other threads:[~2018-08-15 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09 12:14 DxeIpl module cannot find DXE entry point Hristo Mihaylov
2018-08-09 16:40 ` Laszlo Ersek
     [not found]   ` <c98dc9df50b045a19439a255319a8d63@prodrive-technologies.com>
2018-08-14 13:17     ` Laszlo Ersek
     [not found]       ` <0C09AFA07DD0434D9E2A0C6AEB0483103BBAD3DE@shsmsx102.ccr.corp.intel.com>
2018-08-15 10:26         ` Laszlo Ersek [this message]

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=a9a56406-b2cb-4771-bd6e-4f1d0e2ea305@redhat.com \
    --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