Perhaps add a comment to acknowledge that the behaviorWhy is the first map entry being skipped?The first entry is populated with processor count by Hyper-V.
is a bit unexpected:
The 0th entry in the memory layout array contains just a 32-bit
processor count. Read that value and then skip over the reminder
of the 0th entry. Start processing memory_map_entry's with array
element 1.