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
Unknown Object (File)
Thu, Mar 26, 10:49 AM
Unknown Object (File)
Thu, Mar 26, 2:19 AM
Unknown Object (File)
Wed, Mar 25, 5:21 AM
Unknown Object (File)
Sat, Mar 21, 7:06 AM
Unknown Object (File)
Tue, Mar 17, 6:52 AM
Unknown Object (File)
Wed, Mar 11, 8:50 PM
Unknown Object (File)
Feb 21 2026, 11:47 AM
Unknown Object (File)
Feb 18 2026, 6:11 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52395
Build 49286: arc lint + arc unit

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