libpayload: Add support for arm64 in libpayload

Basic support for arm64 is enabled in libpayload.
Features added:
1) mem* operations in assembly.
2) Basic exception handling and support for testing exceptions.
3) Caching support.

Tested with arm64-generic board compilation.

TEST=Compilation successful

Original-Change-Id: I4e86301f9c6383abc078e2b70071fb84bd6e4741
Original-Signed-off-by: Furquan Shaikh <>
Original-Tested-by: Furquan Shaikh <>
Original-Reviewed-by: Aaron Durbin <>
Original-Commit-Queue: Furquan Shaikh <>
(cherry picked from commit a70d13f3d225535843ab352290eab2e1ec7a9b4b)
Signed-off-by: Marc Jones <>

Change-Id: Ie3affe6a2bdd4fed3058de739d4c6aa573e5b251
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <>
Reviewed-by: Furquan Shaikh <>
34 files changed