From: "Ayush Singh" <ayushdevel1325@gmail.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>
Subject: Clarification of Memory management in PEI phase
Date: Thu, 9 Jun 2022 22:58:31 +0530 [thread overview]
Message-ID: <CA+Yfj7sqNuNk4boxx+918EtvxtQUTZH7cdoAo-k-0GX902B-gA@mail.gmail.com> (raw)
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. SetMem()
6. FreePages()
However, no `FreePool()` service seems to be present. So how is the
memory allocated using `AllocatePool()` freed?
Ayush Singh
next reply other threads:[~2022-06-09 17:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-09 17:28 Ayush Singh [this message]
2022-06-09 20:26 ` [edk2-devel] Clarification of Memory management in PEI phase Andrew Fish
2022-06-10 5:22 ` Ayush Singh
2022-06-22 19:39 ` Brian J. Johnson
2022-06-22 20:54 ` Andrew Fish
2022-06-22 21:41 ` Brian J. Johnson
2022-06-22 21:59 ` vincent zimmer
2022-07-01 17:00 ` FreePool in PEI (was: Clarification of Memory management in PEI phase) Brian J. Johnson
2022-06-22 22:58 ` [edk2-devel] Clarification of Memory management in PEI phase Nate DeSimone
2022-06-23 0:10 ` Michael Kubacki
2022-06-23 5:30 ` Ayush Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+Yfj7sqNuNk4boxx+918EtvxtQUTZH7cdoAo-k-0GX902B-gA@mail.gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox