Related to this, I also faced this issue where in order to prevent edk2 from allocating this memory I had to modify CoreFindFreePagesI
    //
    // Don't allocate out of Special-Purpose memory.
    //
    if ((Entry->Attribute & EFI_MEMORY_SP) != 0) {
      continue;
    }
Can't we add PCD based logic here to selectively NOT use SP memory for edk2 allocations? I think "reserved-memory" attr does not work well because it would force OS/drivers not to use it. Which is not what we want. We really want special drivers to make use of it.
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#119519) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_