summaryrefslogtreecommitdiffstats
path: root/PrmPkg/Readme.md
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2020-06-08 11:06:44 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-05 00:42:38 +0000
commit0797989c5dba1157ed09586f6026af6c05df78d5 (patch)
tree1c21e7154e6686f3e717b5162316a7d6967d75c8 /PrmPkg/Readme.md
parenta409f4b67d054b58a1969586d7d6961316fb364f (diff)
downloadedk2-0797989c5dba1157ed09586f6026af6c05df78d5.tar.gz
edk2-0797989c5dba1157ed09586f6026af6c05df78d5.tar.bz2
edk2-0797989c5dba1157ed09586f6026af6c05df78d5.zip
PrmPkg: Remove ALLOCATE_CONTEXT_BUFFER_IN_FW build flag
The POR is firmly to use an OS allocated context buffer now so the build flag that allows firmware to allocate the context buffer is removed along with supporting code. Cc: Andrew Fish <afish@apple.com> Cc: Kang Gao <kang.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Liu Yun <yun.y.liu@intel.com> Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Ankit Sinha <ankit.sinha@intel.com>
Diffstat (limited to 'PrmPkg/Readme.md')
-rw-r--r--PrmPkg/Readme.md12
1 files changed, 3 insertions, 9 deletions
diff --git a/PrmPkg/Readme.md b/PrmPkg/Readme.md
index f430006905..52b44a95dd 100644
--- a/PrmPkg/Readme.md
+++ b/PrmPkg/Readme.md
@@ -68,17 +68,11 @@ record (POR) configuration.
The following list are the currently defined build flags (if any) that may be passed to the `build` command
(e.g. -D FLAG=VALUE).
-* `ALLOCATE_CONTEXT_BUFFER_IN_FW` - Allocates the context buffer for each PRM handler in the firmware instead of
- the operating system (OS).
+* NONE - No build flags are currently used.
Additional detail: The context buffer structure is defined in [PrmContextBuffer.h](PrmPkg/Include/PrmContextBuffer.h).
- This structure can be instantiated by either firmware with a physical pointer to the buffer placed in the
- `PRM_HANDLER_INFORMATION_STRUCT` for each handler wherein the OS would convert that physical pointer and pass it
- as a virtual address pointer to each PRM handler. Alternatively, the context buffer can be allocated and populated
- by the OS where it would get all the information to populate the context buffer from other structures.
-
- The default is for the OS to allocate and populate the buffer. The alternative option of the firmware doing this
- work is kept in the source code until broader OS testing is completed.
+ This structure is passed as the context buffer to PRM handlers. The structure actually passed to PRM handlers is
+ allocated and populated by the OS where it gets all the information to populate the context buffer from other structures.
## Overview
At a high-level, PRM can be viewed from three levels of granularity: