Page MenuHomeFreeBSD

RISC-V: provide the correct value for kernstart
AcceptedPublic

Authored by mhorne on Sun, Mar 22, 6:40 PM.

Details

Reviewers
br
markj
Group Reviewers
riscv
Summary

pmap_bootstrap() expects the kernel's physical load address, but we have
been providing the start of physical memory. This had the nice effect of
protecting the memory used by the SBI runtime firmware, but now that we
have alternate means of achieving that, we should provide the correct
value. This will free up any memory between the SBI firmware and the
kernel for allocation.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 30047
Build 27858: arc lint + arc unit

Event Timeline

mhorne created this revision.Sun, Mar 22, 6:40 PM
markj accepted this revision as: markj.Wed, Mar 25, 5:57 PM
This revision is now accepted and ready to land.Wed, Mar 25, 5:57 PM