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)
Sat, Apr 6, 1:13 AM
Unknown Object (File)
Fri, Apr 5, 10:57 PM
Unknown Object (File)
Jan 11 2024, 11:33 AM
Unknown Object (File)
Dec 20 2023, 1:28 AM
Unknown Object (File)
Jul 21 2023, 3:42 AM
Unknown Object (File)
Jan 29 2023, 2:28 PM
Unknown Object (File)
Dec 11 2022, 6:55 AM
Unknown Object (File)
Mar 23 2017, 8:04 PM
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