Refactor the xlat_tables library codeThe AArch32 long descriptor format and the AArch64 descriptor formatcorrespond to each other which allows possible sharing of xlat_tableslibrary code between
Refactor the xlat_tables library codeThe AArch32 long descriptor format and the AArch64 descriptor formatcorrespond to each other which allows possible sharing of xlat_tableslibrary code between AArch64 and AArch32. This patch refactors thexlat_tables library code to seperate the common functionality fromarchitecture specific code. Prior to this patch, all of the xlat_tableslibrary code were in `lib/aarch64/xlat_tables.c` file. The refactored codeis now in `lib/xlat_tables/` directory. The AArch64 specific programmingfor xlat_tables is in `lib/xlat_tables/aarch64/xlat_tables.c` and the restof the code common to AArch64 and AArch32 is in`lib/xlat_tables/xlat_tables_common.c`. Also the data types used inxlat_tables library APIs are reworked to make it compatible between AArch64and AArch32.The `lib/aarch64/xlat_tables.c` file now includes the new xlat_tableslibrary files to retain compatibility for existing platform ports.The macros related to xlat_tables library are also moved from`include/lib/aarch64/arch.h` to the header `include/lib/xlat_tables.h`.NOTE: THE `lib/aarch64/xlat_tables.c` FILE IS DEPRECATED AND PLATFORM PORTSARE EXPECTED TO INCLUDE THE NEW XLAT_TABLES LIBRARY FILES IN THEIR MAKEFILES.Change-Id: I3d17217d24aaf3a05a4685d642a31d4d56255a0f
show more ...
12