Checking the API Version - 2020.2 English

Versal ACAP System Software Developers Guide (UG1304)

Document ID
Release Date
2020.2 English

Before using the EEMI API to manage the slave nodes, you must check that the EEMI API version implemented in the ATF matches the version implemented in the PMC firmware. 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 ATF and the PMC firmware.

How to Check the EEMI API Version

The EEMI version implemented in the ATF 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.