Page MenuHomeFreeBSD

Run platform_late_init on all cpus.
AbandonedPublic

Authored by andrew on May 15 2017, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 18 2024, 7:42 PM
Unknown Object (File)
Dec 9 2023, 9:15 PM
Unknown Object (File)
Dec 9 2023, 7:27 PM
Unknown Object (File)
Dec 9 2023, 7:16 PM
Unknown Object (File)
Nov 19 2023, 8:55 AM
Unknown Object (File)
Nov 19 2023, 8:53 AM
Unknown Object (File)
Nov 19 2023, 8:38 AM
Unknown Object (File)
Nov 17 2023, 4:37 AM
Subscribers

Details

Reviewers
None
Group Reviewers
ARM
Summary

To simplify running startup code on all CPUs run platform_late_init on all
cpus. As some code may need to be run only on the boot core check for
curcpu being zero before running it.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9261
Build 9714: arc lint + arc unit

Event Timeline

Nothing strong, but I would probably prefer a new method for late init on secondary cores, instead of reusing of platform_late_init() - something like platform_mp_late_init.
Code sharing between BP / AP will be very rare, i think.

BTW, it looks that we do not have a variable with boot cpu number. If it's true, I would suggest to have it for cases like this.