commit | 3600c2fdc09a43a30909743569e35a29121602ed | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Thu Nov 05 15:09:17 2015 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Dec 14 11:30:38 2015 +0000 |
tree | fcbdddb0337b7f933f1704b767840ba2835fce08 | |
parent | b19e6892a90e7c9d15fde0a08516ec891a4e7d54 [diff] |
arm64: Add macros to read/write system registers Rather than crafting custom macros for reading/writing each system register provide generics accessors, read_sysreg and write_sysreg, for this purpose. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Suzuki Poulose <suzuki.poulose@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>