public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Peims are not gettting Dispatched in EagleStream Platform
@ 2024-02-21  6:59 memristor2 via groups.io
  2024-02-21  7:36 ` memristor2 via groups.io
  2024-02-21 23:58 ` Laszlo Ersek
  0 siblings, 2 replies; 9+ messages in thread
From: memristor2 via groups.io @ 2024-02-21  6:59 UTC (permalink / raw)
  To: devel@edk2.groups.io

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

Hi,
I am trying to build edk2-platforms for EagleStream Platform. The problem I am facing now is that the Peims are not getting dispatched when The PeiMain routine calls PeiDispatcher().
After digging deeper into it it seems that the DepexSatisfied() routine is always returning false. So I also checked this and realized that the place that is returning false is inside the PeimDispatchReadiness
function:
​```
case (EFI_DEP_END): DEBUG ((DEBUG_DISPATCH, " END\n"));
StackPtr--;
//
// Check to make sure EvalStack is balanced. If not, then there is
// an error in the dependency grammar, so return EFI_INVALID_PARAMETER.
//
if (StackPtr != &EvalStack[0]) {

DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Underflow Error)\n"));
return FALSE;
}

DEBUG ((DEBUG_DISPATCH, " RESULT = %a\n", IsPpiInstalled (PeiServices, StackPtr) ? "TRUE" : "FALSE"));

return IsPpiInstalled (PeiServices, StackPtr);
```
It seems that when entering IsPpiInstalled StackPtr in always NULL.
Any thoughts on this?

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115748): https://edk2.groups.io/g/devel/message/115748
Mute This Topic: https://groups.io/mt/104498510/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: 2611 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-29 12:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21  6:59 [edk2-devel] Peims are not gettting Dispatched in EagleStream Platform memristor2 via groups.io
2024-02-21  7:36 ` memristor2 via groups.io
2024-02-21 23:58 ` Laszlo Ersek
2024-02-22  0:12   ` Nate DeSimone
2024-02-22 13:50     ` memristor2 via groups.io
2024-02-23 20:45       ` Nate DeSimone
2024-02-24 13:30         ` memristor2 via groups.io
     [not found]         ` <17B6CFAF57BD7756.3842@groups.io>
2024-02-24 14:11           ` memristor2 via groups.io
2024-02-29 12:07             ` memristor2 via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox