WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Xen's Code location

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen's Code location
From: Ahmed Azab <amazab@xxxxxxxx>
Date: Tue, 23 Jun 2009 11:58:48 -0400
Delivery-date: Tue, 23 Jun 2009 08:59:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)
Hi all,

I was inspecting Xen trying to understand the mechanism of booting the hypervisor and the way Xen's memory is managed inside its own address space. I am using x86/32-bit Xen with PAE. According to the documents, Xen should occupy the highest 168 MB of the address space (i.e. higher than 0xf5800000). I have two questions:

1- What are the boundaries of the different sections (code, ro data, heap, etc..) with this address space?

I searched within Xen's source but I got now clue about the location Xen's code is mapped. I used objdump on the booted Xen kernel and is said that there is only one section, which is .text, that should be loaded at 0x0010000 which is not even a high address. I inspected the function __start_xen in setup.c but it does not do any code address relocation. Finally, I inspected Xen's GDT and I found that it used a flat segmentation structure (4 GB per segment)

2-Is there any page protection within Xen's address space?

I noticed that all mapped pages are executable which is supposed to include Xen's stack and heap.

Thanks,
Ahmed

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Xen's Code location, Ahmed Azab <=