Checking the API Version - 2021.2 English

Versal ACAP System Software Developers Guide (UG1304)

Document ID
UG1304
Release Date
2021-10-27
Version
2021.2 English

Before using the EEMI API to manage the slave nodes, you must check that the EEMI API version implemented in the TF-A matches the version implemented in the PLM. EEMI API version is a 32-bit value separated in higher 16-bits of MAJOR and lower 16-bits of MINOR part. Both fields must be the same between the TF-A and the PLM.

How to Check the EEMI API Version

The EEMI version implemented in the TF-A is defined in the local EEMI_API_VERSION flag. The rich OS can invoke the PM_GET_API_VERSION function to retrieve the EEMI API version from the PMC. If the versions are different, this function reports an error.

Note: This EEMI API function is version independent; every EEMI version implements it.