Odd start of the day memory layout
Hi,
i found myself in presence of an odd start of the day memory layout using Xen 3.0.1 testing on x86-64.
Quoting from <public/xen.h>:
" * 4. This the order of bootstrap elements in the initial virtual region:
* a. relocated kernel image * b. initial ram disk [mod_start, mod_len] * c. list of allocated page frames [mfn_list, nr_pages] * d. bootstrap page tables [pt_base, CR3 (x86)] * e. start_info_t structure [register ESI (x86)] * f. bootstrap stack [register ESP (x86)]"
But when i run my domU kernel (homemade), i found myself with start_info struct BETWEEN pt_base and end of page tables (pt_base + (nr_pt_frames << PAGE_SHIFT).
Is it intended?
Regards,
Mathieu
Quoted 3 lines · Mathieu Ropert
But when i run my domU kernel (homemade), i found myself with
start_infostruct BETWEENpt_baseand end of page tables (pt_base+ (nr_pt_frames<<PAGE_SHIFT).Is it intended?
The comment is wrong. I'll fix it.
-- Keir