Page MenuHomeFreeBSD

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

Authored by andrew on Mar 22 2017, 2:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 6:51 PM
Unknown Object (File)
Sat, Nov 23, 3:05 AM
Unknown Object (File)
Wed, Nov 20, 3:13 AM
Unknown Object (File)
Tue, Nov 19, 2:48 PM
Unknown Object (File)
Tue, Nov 19, 9:53 AM
Unknown Object (File)
Mon, Nov 11, 1:23 AM
Unknown Object (File)
Oct 12 2024, 11:48 PM
Unknown Object (File)
Oct 6 2024, 6:46 AM
Subscribers

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