Skip to contentSkip to conversation

Odd start of the day memory layout

DISCUSSION Mathieu Ropert 2 participants 2 messages Mar 6, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Mathieu Ropert

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?

The comment is wrong. I'll fix it.

-- Keir