Skip to content

Vbar is now available for ARMv7-A as well#165

Merged
jonathanpallant merged 2 commits intomainfrom
vbar-available-for-armv7a
May 3, 2026
Merged

Vbar is now available for ARMv7-A as well#165
jonathanpallant merged 2 commits intomainfrom
vbar-available-for-armv7a

Conversation

@robamu
Copy link
Copy Markdown
Contributor

@robamu robamu commented May 3, 2026

Fixes #153 .
I have not checked yet whether this register is available on legacy architectures.

@robamu
Copy link
Copy Markdown
Contributor Author

robamu commented May 3, 2026

did not find any mention of VBAR in the ARMv5 ARM. only made it available for v7-a and v8-r now.

@robamu robamu force-pushed the vbar-available-for-armv7a branch from ed991a5 to 422978e Compare May 3, 2026 11:13
@robamu robamu requested a review from thejpster May 3, 2026 11:13
@thejpster
Copy link
Copy Markdown
Contributor

Is this tied to HYP support? Should it be in the hyp module?

@jonathanpallant
Copy link
Copy Markdown
Contributor

jonathanpallant commented May 3, 2026

I looked in ARM ARMv6 and it's not in there, so it was added in Armv7. It's not tied to Hyp support because there's a separate HVBAR that is.

I'm going to merge this for now, but I think I want to break the register list up into Armv4T, Armv5TE, Armv6, Armv7-A, Armv7-R and Armv8-R and only expose access to registers on targets where it makes sense. But that's for another day.

@jonathanpallant jonathanpallant added this pull request to the merge queue May 3, 2026
Merged via the queue into main with commit fd1c625 May 3, 2026
52 checks passed
@robamu robamu deleted the vbar-available-for-armv7a branch May 3, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VBAR also exists on Arm Cortex-A8 (et al)

3 participants