commit | e0848e9d5be9d64b30d558b40e5c8fb37d0542ad | [log] [tgz] |
---|---|---|
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | Tue Feb 20 12:25:36 2018 +0000 |
committer | Dimitris Papastamos <dimitris.papastamos@arm.com> | Tue Feb 27 12:05:59 2018 +0000 |
tree | d63dd04f1eb91213d6557c6817ade3f493ec24cd | |
parent | 430f11511e881c6020e989fc35dd8f071402594d [diff] |
aarch32: Fix multiple bugs in amu_helpers.S AArch32 uses odd-even pairs when passing 64-bit arguments to functions. For example in `amu_group0_cnt_write_internal()` the second argument is a uint64_t which is passed in r2 and r3. In `amu_group1_set_evtype_internal()` the value that needs to be written to the system register is in r1 not in r0. Change-Id: I20196268fdb1dc9ef6c4ebe61e761fba9623b3f2 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>