Skip to contentSkip to conversation

about map_pages_to_xen call during boot memory allocator initialization

DISCUSSION 余上 1 participant 1 message Feb 16, 2008

lore
Share & tools
lore

余上

author
#0 lore raw

Hi All,
I know that during the initialization of boot memory allocator , memory is mapped into Xen's pagetable and I know this is a 1:1 mapping under x86_32 which means the physical address equals the linear address . So what purpose is this mapping? After all , boot allocator just return page frame number , not the physical address the caller must do another mapping , for example , in init_frametable .

Thank you very much
yushang