commit | 1171f83a21ddbb68d62a6557c112554dcea46252 | [log] [tgz] |
---|---|---|
author | Harrison Mutai <harrison.mutai@arm.com> | Fri Mar 21 15:33:17 2025 +0000 |
committer | Manish Pandey <manish.pandey2@arm.com> | Thu Mar 27 17:51:16 2025 +0000 |
tree | 87cc598321277de3f3e3a6201a9961638a17ca36 | |
parent | db83bfa134ebf55cc6a68aaf826fd67a35c8c7e9 [diff] |
Add missing transfer entries Add entries that were added in recent months to the specification but the library hasn't had a chance to catch up with: - XFERLIST_TPM_EVLOG - XFERLIST_EXEC_EP_INFO32 - XFERLIST_SRAM_LAYOUT32 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com> Change-Id: Ib782406369fe3043a965f3fd17a3cf8e0f34b55c
The Transfer List Library (LibTL) implements the Firmware Handoff specification, providing a streamlined interface for managing transfer lists. LibTL offers a user-friendly interface for:
The library supports building with host tools such as Clang and GCC, and cross compilation with the Aarch64 GNU compiler.
To configure the project, use the following command. This will default to using GCC as the toolchain and create a build directory named build/
:
cmake -B build
To build the project, use:
cmake --build build
This will output libtl.a in the build directory.
For cross-compilation or selecting a different compiler, specify the target toolchain file using the CMAKE_TOOLCHAIN_FILE
option and the target with CROSS_COMPILE
:
export CROSS_COMPILE=aarch64-none-elf- cmake -B build -DCMAKE_TOOLCHAIN_FILE=toolchains/host/gnu.cmake
Tests for LibTL are provided in the folder test
, to configure the project for test builds, run:
cmake -B build -DTARGET_GROUP=test cmake --build build
Then, to run the tests with ctest
, use:
ctest --test-dir build/