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] RE: [PATCH v2.0 5/6] Handler m2p table and frametable fault

To: Jan Beulich <jbeulich@xxxxxxxxxx>, "keir.fraser@xxxxxxxxxxxxx" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Fri, 10 Jul 2009 09:43:56 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 09 Jul 2009 18:46:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A55DD4C020000780004C460@xxxxxxxxxxxxxxxxxx>
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>
References: <4A55DD4C020000780004C460@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoAhVgmAzoA2GxCQ8a0J7ZQtKWWZQAeEm9Q
Thread-topic: [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler
Yes, it should be RDWR.

--jyh

Jan Beulich wrote:
>>>> "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> 07/08/09 9:44 AM >>>
>> +int pagefault_by_memadd(unsigned long addr, struct cpu_user_regs
>> *regs) +{ +    if ( guest_mode(regs) )
>> +    {
>> +        if ( ((addr >= RO_MPT_VIRT_START) && (addr <
>> RO_MPT_VIRT_END)) ) +            return 1; +    }
>> +    else
>> +    {
>> +        if ( (addr >= RO_MPT_VIRT_START) && (addr <
>> RDWR_MPT_VIRT_END) ) 
> 
> RDWR_...?
> 
> Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>