Skip to content

Commit

Permalink
add "p = NextMemoryDescriptor(p, dsz);"
Browse files Browse the repository at this point in the history
  • Loading branch information
dcui committed Mar 9, 2017
1 parent 9b214a0 commit 6a62ef4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/boot/efi/loader/copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ efi_verify_staging_size(unsigned long *nr_pages)
}

i++;
p = NextMemoryDescriptor(p, dsz);

for ( ; i < ndesc;
i++, p = NextMemoryDescriptor(p, dsz)) {
if (p->Type != EfiConventionalMemory &&
Expand Down

0 comments on commit 6a62ef4

Please sign in to comment.