Page MenuHomeFreeBSD

RISC-V: Call devmap_bootstrap()
ClosedPublic

Authored by nick on Oct 10 2019, 8:34 PM.
Tags
None
Referenced Files
F133009026: D21975.diff
Wed, Oct 22, 12:52 AM
Unknown Object (File)
Tue, Oct 21, 1:58 AM
Unknown Object (File)
Sat, Oct 18, 8:52 AM
Unknown Object (File)
Thu, Oct 9, 2:49 AM
Unknown Object (File)
Tue, Oct 7, 10:12 AM
Unknown Object (File)
Mon, Oct 6, 1:28 AM
Unknown Object (File)
Mon, Sep 29, 3:58 PM
Unknown Object (File)
Sun, Sep 28, 6:56 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!