Page MenuHomeFreeBSD

RISC-V: Call devmap_bootstrap()
ClosedPublic

Authored by nick on Oct 10 2019, 8:34 PM.
Tags
None
Referenced Files
F153699827: D21975.diff
Thu, Apr 23, 1:08 AM
Unknown Object (File)
Thu, Apr 16, 7:37 PM
Unknown Object (File)
Sun, Apr 12, 10:37 AM
Unknown Object (File)
Sun, Apr 12, 5:41 AM
Unknown Object (File)
Sat, Apr 11, 12:36 AM
Unknown Object (File)
Thu, Apr 9, 6:57 PM
Unknown Object (File)
Mon, Apr 6, 3:48 AM
Unknown Object (File)
Sun, Apr 5, 6:19 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!