Page MenuHomeFreeBSD

RISC-V: Call devmap_bootstrap()
ClosedPublic

Authored by nick on Oct 10 2019, 8:34 PM.
Tags
None
Referenced Files
F170716083: D21975.id63136.diff
Sun, Sep 6, 4:39 AM
F170708508: D21975.id63136.diff
Sun, Sep 6, 3:33 AM
F170686751: D21975.id63137.diff
Sun, Sep 6, 12:54 AM
F170645648: D21975.id63137.diff
Sat, Sep 5, 7:14 PM
F170645180: D21975.id63135.diff
Sat, Sep 5, 7:10 PM
F170645157: D21975.diff
Sat, Sep 5, 7:10 PM
F170622359: D21975.id63137.diff
Sat, Sep 5, 4:43 PM
F170597272: D21975.diff
Sat, Sep 5, 2:04 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

Lint
Lint Skipped
Unit
Tests Skipped

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
69

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!