Page MenuHomeFreeBSD

RISC-V: Call devmap_bootstrap()
ClosedPublic

Authored by nick on Oct 10 2019, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 7:13 PM
Unknown Object (File)
Fri, Feb 7, 7:10 PM
Unknown Object (File)
Mon, Jan 27, 1:27 AM
Unknown Object (File)
Jan 11 2025, 9:01 PM
Unknown Object (File)
Jan 5 2025, 11:17 PM
Unknown Object (File)
Dec 26 2024, 3:03 AM
Unknown Object (File)
Dec 25 2024, 3:24 PM
Unknown Object (File)
Dec 10 2024, 11:14 AM
Subscribers

Details

Summary

RISC-V support has been added to devmap but devmap_bootstrap never gets
called therefore never actually creating the mapped device regions.

Sponsored by: Axiado

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

philip requested changes to this revision.Oct 10 2019, 8:38 PM

Other than the minor style(9) violation, this looks good to me!

sys/riscv/riscv/machdep.c
68 ↗(On Diff #63135)

Please try to keep includes in alphabetical order. See style(9).

This revision now requires changes to proceed.Oct 10 2019, 8:38 PM

I don't object to the change, but do we actually create any static mappings currently? This is a no-op otherwise.

I don't object to the change, but do we actually create any static mappings currently? This is a no-op otherwise.

FreeBSD proper doesn't on RISC-V, but downstreams do.. (or want to).

This comment was removed by nick.

Fix the header order (alphabetical)

This revision is now accepted and ready to land.Oct 10 2019, 9:22 PM

I don't object to the change, but do we actually create any static mappings currently? This is a no-op otherwise.

FreeBSD proper doesn't on RISC-V, but downstreams do.. (or want to).

Thanks, good to know!