commit | edea5c124d30776563a84337b017f158529f694f | [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 | e6e17ee8f17cc0e34bf681cc36e0954b6cf2e319 [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>