> + Buffer = AllocateZeroPool (sizeof (EFI_SMRAM_DESCRIPTOR)); > + ASSERT (Buffer != NULL);
You can define a local variable "EFI_SMRAM_DESCRIPTOR OneSmramDescriptor" to avoid pool allocation. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105624): https://edk2.groups.io/g/devel/message/105624 Mute This Topic: https://groups.io/mt/98922940/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-