aboutsummaryrefslogtreecommitdiffstats
path: root/include/lib/extensions/amu.h
diff options
context:
space:
mode:
authorJoel Hutton <joel.hutton@arm.com>2017-12-21 15:21:20 +0000
committerDimitris Papastamos <dimitris.papastamos@arm.com>2018-01-31 14:08:22 +0000
commitc70da54631615da9981008e917621e65472b3042 (patch)
tree2bed89ce3d2d927e1dd1268cecebf0365c320cdb /include/lib/extensions/amu.h
parentce213b9622d229faded186bebc7fdaf947b516b6 (diff)
downloadplatform_external_arm-trusted-firmware-c70da54631615da9981008e917621e65472b3042.tar.gz
platform_external_arm-trusted-firmware-c70da54631615da9981008e917621e65472b3042.tar.bz2
platform_external_arm-trusted-firmware-c70da54631615da9981008e917621e65472b3042.zip
AMU: Implement context save/restore for aarch32
Add amu_context_save() and amu_context_restore() functions for aarch32 Change-Id: I4df83d447adeaa9d9f203e16dc5a919ffc04d87a Signed-off-by: Joel Hutton <joel.hutton@arm.com>
Diffstat (limited to 'include/lib/extensions/amu.h')
-rw-r--r--include/lib/extensions/amu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/extensions/amu.h b/include/lib/extensions/amu.h
index faa0ee125..559c8f134 100644
--- a/include/lib/extensions/amu.h
+++ b/include/lib/extensions/amu.h
@@ -7,10 +7,10 @@
#ifndef __AMU_H__
#define __AMU_H__
-#include <sys/cdefs.h> /* for CASSERT() */
#include <cassert.h>
#include <platform_def.h>
#include <stdint.h>
+#include <sys/cdefs.h> /* for CASSERT() */
/* All group 0 counters */
#define AMU_GROUP0_COUNTERS_MASK 0xf