Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-23 Thread vincent zimmer
n J. Johnson > Cc: devel@edk2.groups.io, ayushdevel1...@gmail.com > Subject: [edk2-devel] Clarification of Memory management in PEI phase > > Brian, > > I think all the PEI Allocate Pool does is make a HOB [1]. I don’t think we > can remove HOBs when memory is freed as that would ch

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-22 Thread Ayush Singh
Singh > Sent: Thursday, June 9, 2022 10:23 PM > To: Andrew Fish > Cc: devel@edk2.groups.io > Subject: Re: [edk2-devel] Clarification of Memory management in PEI phase > > > > Thanks for the wonderful answer. > > > > Ayush Singh > > > On Thu, Jun 9 2022 at 01:

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-22 Thread Michael Kubacki
your GSoC project and won’t happen fast enough for the work you need to do this summer 😊. Thanks, Nate *From:* devel@edk2.groups.io *On Behalf Of *Ayush Singh *Sent:* Thursday, June 9, 2022 10:23 PM *To:* Andrew Fish *Cc:* devel@edk2.groups.io *Subject:* Re: [edk2-devel] Clarification of M

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-22 Thread Nate DeSimone
From: devel@edk2.groups.io On Behalf Of Ayush Singh Sent: Thursday, June 9, 2022 10:23 PM To: Andrew Fish Cc: devel@edk2.groups.io Subject: Re: [edk2-devel] Clarification of Memory management in PEI phase Thanks for the wonderful answer. Ayush Singh On Thu, Jun 9 2022 at 01:26:58 PM -0700, Andrew

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-22 Thread Brian J. Johnson
ian J. Johnson *Cc:* devel@edk2.groups.io, ayushdevel1...@gmail.com *Subject:* [edk2-devel] Clarification of Memory management in PEI phase Brian, I think all the PEI Allocate Pool does is make a HOB [1]. I don’t think we can remove HOBs when memory is freed as that would change  pointers to

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-22 Thread Andrew Fish via groups.io
12:22 AM > To: Andrew Fish <mailto:af...@apple.com> > Cc: devel@edk2.groups.io <mailto:devel@edk2.groups.io> > Subject: [edk2-devel] Clarification of Memory management in PEI phase > >> Thanks for the wonderful answer. >> >> Ayush Singh >> >> O

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-22 Thread Brian J. Johnson
ndrew Fish *Cc:* devel@edk2.groups.io *Subject:* [edk2-devel] Clarification of Memory management in PEI phase Thanks for the wonderful answer. Ayush Singh On Thu, Jun 9 2022 at 01:26:58 PM -0700, Andrew Fish wrote: On Jun 9, 2022, at 10:28 AM, Ayush Singh InstallPeiMemory()

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-09 Thread Ayush Singh
Thanks for the wonderful answer. Ayush Singh On Thu, Jun 9 2022 at 01:26:58 PM -0700, Andrew Fish wrote: On Jun 9, 2022, at 10:28 AM, Ayush Singh > wrote: Hello everyone, Can anyone help me with understanding dynamic memory management in PEI phase? I

Re: [edk2-devel] Clarification of Memory management in PEI phase

2022-06-09 Thread Andrew Fish via groups.io
> On Jun 9, 2022, at 10:28 AM, Ayush Singh wrote: > > Hello everyone, > > Can anyone help me with understanding dynamic memory management in PEI > phase? In the UEFI Platform Integration Specification, version 1.7 > Errata A, Section 4.6, PEI Memory services are given which include: > > 1. In

[edk2-devel] Clarification of Memory management in PEI phase

2022-06-09 Thread Ayush Singh
Hello everyone, Can anyone help me with understanding dynamic memory management in PEI phase? In the UEFI Platform Integration Specification, version 1.7 Errata A, Section 4.6, PEI Memory services are given which include: 1. InstallPeiMemory() 2. AllocatePages() 3. AllocatePool() 4. CopyMem() 5.