Since physmap_idx points to the next slot, we should make sure both 'i'
and 'insert_idx' are less than physmap_idx, but never equal to it.
Also allow physmap_idx to reach PHYS_AVAIL_ENTRIES so the last slot can
be populated.
Differential D51173
amd64: fix physmap entry addition logic vexeduxr on Sat, Jul 5, 8:43 PM. Authored by Tags None Referenced Files
Subscribers
Details
Since physmap_idx points to the next slot, we should make sure both 'i' Also allow physmap_idx to reach PHYS_AVAIL_ENTRIES so the last slot can
Diff Detail
Event Timeline
|