Support generic-timer (and EL2) on Armv7-A#141
Conversation
5dda66c to
190e913
Compare
|
rebased on main |
You mean the switch from Cortex-A8 to Cortex-A15? I don't think the matters - they will use the same emulation engine underneath. I only switched because the A15 has some extra features enabled that we needed. |
SGTM |
|
Other than my comments about cfg expr ordering, LGTM. |
Requires we change the emulated CPU from Cortex-A8 to Cortex-A15, as Cortex-A8 doesn't have the timer extensions. That in turn meant we booted into EL2, so we needed to bounce ourselves into EL1 that the examples were expecting. And that meant making a bunch of Hyp registers available on Armv7-A and Armv8-R, and changing the Armv7-A start-up routine to be the Armv8-R routine.
f1de4f2 to
b8dfbaf
Compare
|
rebased |
Fixes #140 by adding generic timer support for Armv7-A.
registers::armv8rmodule and into a newregisters::hypmodule available on Armv7-A and Armv8-R