Page MenuHomeFreeBSD

RISC-V: Call devmap_bootstrap()
ClosedPublic

Authored by nick on Oct 10 2019, 8:34 PM.
Tags
None
Referenced Files
F136500493: D21975.id63137.diff
Tue, Nov 18, 1:56 AM
Unknown Object (File)
Thu, Nov 13, 2:50 AM
Unknown Object (File)
Mon, Nov 10, 7:54 PM
Unknown Object (File)
Thu, Nov 6, 12:29 AM
Unknown Object (File)
Wed, Nov 5, 12:16 PM
Unknown Object (File)
Fri, Oct 31, 12:40 AM
Unknown Object (File)
Thu, Oct 30, 7:45 PM
Unknown Object (File)
Thu, Oct 30, 7:45 PM
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!