Page MenuHomeFreeBSD

arm64: Remove pmap_san_bootstrap() and call kasan_init_early() directly
ClosedPublic

Authored by markj on Jan 11 2024, 8:15 PM.
Tags
None
Referenced Files
F132583310: D43403.diff
Sat, Oct 18, 4:19 AM
Unknown Object (File)
Fri, Oct 17, 9:41 AM
Unknown Object (File)
Tue, Oct 14, 3:20 AM
Unknown Object (File)
Mon, Oct 13, 8:25 PM
Unknown Object (File)
Mon, Oct 13, 8:25 PM
Unknown Object (File)
Mon, Oct 13, 8:25 PM
Unknown Object (File)
Mon, Oct 13, 6:55 AM
Unknown Object (File)
Sat, Oct 11, 12:30 AM
Subscribers

Details

Summary

pmap_san_bootstrap() doesn't really do much, and it was hard-coding the
the bootstrap stack size defined in locore.S. Moreover, the name is a
bit confusing given the existence of pmap_bootstrap_san(). Just remove
it and call kasan_init_early() directly like we do on amd64.

Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

Diff Detail

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