mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
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>
This commit is contained in:
parent
ce213b9622
commit
c70da54631
5 changed files with 77 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue