Page MenuHomeFreeBSD

arm: Move the code to exit hyp to hypervisor-stub.S
AcceptedPublic

Authored by andrew on Mar 22 2017, 2:46 PM.

Details

Reviewers
mihai
Group Reviewers
ARM
Summary

This moves all the code to handle hyp mode to hypervisor-stub.S.
It simplifies the code as we now return if we were in hyp mode from
hypervisor_stub_vect_install allowing this value to be written directly
to the variable.

While here remove old macros for gcc 4.2.1 as it's too old to build
FreeBSD now we use the ARM EABI with hard float.

Test Plan

So far I've only compiled it.

Diff Detail

Event Timeline

The comment "/* Leave HYP mode */" isn't consistent. We are checking if we are in HypMode only.

I'm ok with commiting it.

This revision is now accepted and ready to land.Mar 31 2017, 8:49 AM
linimon retitled this revision from Move the code to exit hyp to hypervisor-stub.S to arm: Move the code to exit hyp to hypervisor-stub.S.Jul 19 2018, 5:33 AM