Page MenuHomeFreeBSD

Add helpers to allocate an arm64 VFP state struct
ClosedPublic

Authored by andrew on May 17 2023, 11:34 AM.
Tags
None
Referenced Files
F175429802: D40131.id122037.diff
Sat, Oct 10, 7:25 PM
F175428712: D40131.diff
Sat, Oct 10, 7:15 PM
Unknown Object (File)
Tue, Oct 6, 7:55 AM
Unknown Object (File)
Wed, Sep 30, 7:48 AM
Unknown Object (File)
Fri, Sep 11, 10:40 AM
Unknown Object (File)
Sep 10 2026, 6:17 PM
Unknown Object (File)
Sep 10 2026, 3:29 AM
Unknown Object (File)
Sep 9 2026, 6:10 PM
Subscribers

Details

Summary

This will be used by bhyve and will allow the size to change, e.g. for SVE.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Clean up vmm stats git arc with wrong commit...

sys/arm64/arm64/vfp.c
63

The whitespace after static looks odd.

288

Now this is only called from APs, so the name is a bit misleading. Maybe vfp_init_secondary() (and plain vfp_init() below)?

313

I think we prefer _Alignof.

473

No need for blank lines at the beginning of functions.

Update based on feedback from @markj

This revision is now accepted and ready to land.Jul 4 2023, 2:34 PM