WIP: reusable vector generation
Ideally we'd generate all vectors in a standard way, ensuring naming and
offsets are consistent.
This is a stab at an approach, but might not be the right way to go.
TODO:
* Give each entry its own name? This would help debug, and we could
distinguish the actual code from padding added by `.align`.
* Figure out what to do with the offsets, which the KPTI trampoline
entries currently use. If we named each entry we could branch by name
instead.
* The `el{1,0}` naming is arguably wrong for E2H today, and is
definitely wrong for hyp where the lower EL can be either 1 or 0.
* The `{h,t}` disctinction is meaningless below the current EL, and
could be confusing for hyp where exceptions *from* EL1h or EL1t will
be taken to the same vector.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
1 file changed