Hi Experts,

I have a doubt regarding memory sharing between PEI and DXE phases.

Let's say I have a PEI library 'NorLib.c' and a DXE driver 'NorDxeDriver.c', 
where
the DXE driver uses some APIs of the PEI Library to obtain information and 
provide
functionalities to the upper layers.

Now, if I allocate some memory chunk (let's say for a pointer) in the PEI phase,
how can I use the same in the DXE phase (as normally the PEI pointer contents 
become
INVALID in the DXE phase).

Are there standard HOB mechanisms available for the same?

Thanks for the help.

Regards,
Bhupesh
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to