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 (#115749) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_