summaryrefslogtreecommitdiffstats
path: root/PrmPkg/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'PrmPkg/Readme.md')
-rw-r--r--PrmPkg/Readme.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/PrmPkg/Readme.md b/PrmPkg/Readme.md
index 4ff8a36123..3191c039fd 100644
--- a/PrmPkg/Readme.md
+++ b/PrmPkg/Readme.md
@@ -52,6 +52,11 @@ To build `PrmPkg` as a standalone package:
* ``. edksetup.sh``
5. Build PrmPkg \
+
+The PrmPkg can be built targetting the IA32/X64 and AArch64 architectures.
+
+ - IA32/X64
+
``build -p PrmPkg/PrmPkg.dsc -a IA32 -a X64``
> ***Note***: Due to the way PRM modules are compiled with exports, **only building on Visual Studio compiler tool
chains has been tested**.
@@ -63,6 +68,12 @@ To build `PrmPkg` as a standalone package:
> You can add your own PRM modules into the build and check them with the `PrmInfo` UEFI application described
> later in this document and dump the PRMT table in the OS to check if your PRM module is represented as expected.
+ - AArch64
+ ``build -p PrmPkg/PrmPkg.dsc -a AARCH64 -t GCC5``
+
+ > ***Note***: Only builds with the GCC5 toolchain have been tested.
+ > ***Note***: For builds with the GCC5 toolchain, the PrmModuleExportDescriptor and any other handler entry points symbols, to be listed in the PRMT, must be explicitly preserved by enumerating these in the AARCH64 linker flags. The --require-defined linker flag must be used for each symbol to be preserved.
+
### PRM Platform GUID
**IMPORTANT** PRM has a concept of a "Platform GUID" which associates a specific platform with a set of PRM modules