Page MenuHomeFreeBSD

Make mpentry independent of _start
ClosedPublic

Authored by mhorne on Apr 19 2020, 2:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 4:12 PM
Unknown Object (File)
Tue, Oct 14, 4:12 PM
Unknown Object (File)
Tue, Oct 14, 4:12 PM
Unknown Object (File)
Tue, Oct 14, 3:15 AM
Unknown Object (File)
Mon, Oct 13, 2:02 AM
Unknown Object (File)
Tue, Sep 30, 8:56 AM
Unknown Object (File)
Sep 15 2025, 7:20 PM
Unknown Object (File)
Aug 18 2025, 8:44 PM
Subscribers

Details

Summary

APs enter the kernel at the same point as the BSP, the _start routine.
They then jump to mpentry, but not before storing the kernel's physical
load address in the s9 register. Extract this calculation into its own
routine, so that APs can be instructed to enter directly from mpentry.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30601
Build 28341: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 1 2020, 9:52 PM
This revision was automatically updated to reflect the committed changes.