so that PHYS_TO_VM_PAGE() and consequently physcopyin() work for them
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I considered initializing m->phys_addr for all pages in vm_page_array[]. I decided to not do it for this change because I set up other attributes, the mode is most important. But I think it is useful to have VM_PAGE_TO_PHYS/PHYS_TO_VM_PAGE to work somehow for low addresses.
sys/amd64/amd64/efirt_machdep.c | ||
---|---|---|
258 | I tried to avoid initializing the same field twice. Well, except the md_mode. |