This is needed for VM_PHYS_TO_PAGE() to work, which is needed for pmap_map_io_transient() to work, which is needed for uiomove_fromphys() to work. PR: 296348 Reported and tested: Anton Saietskii <vsasjason@gmail.com>
Details
Details
- Reviewers
markj - Commits
- rGa2f50c4b32d1: amd64 efirt: register all runtime regions as fictitious
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| sys/amd64/amd64/efirt_machdep.c | ||
|---|---|---|
| 258 | Should we check for and report an error? | |
| sys/amd64/amd64/efirt_machdep.c | ||
|---|---|---|
| 258 | I do not see much use for it. We did not registered so far at all. The error could only occur if the range covers vm_page_array[] from 'both sides', which cannot happen on x86 at all. I just added the (void) cast to the call. | |