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)
Mon, Aug 24, 12:24 PM
Unknown Object (File)
Sat, Aug 22, 1:22 AM
Unknown Object (File)
Fri, Aug 21, 11:37 AM
Unknown Object (File)
Thu, Aug 20, 3:49 PM
Unknown Object (File)
Fri, Aug 14, 1:16 AM
Unknown Object (File)
Thu, Aug 13, 11:52 PM
Unknown Object (File)
Thu, Aug 13, 9:03 PM
Unknown Object (File)
Thu, Aug 13, 8:28 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