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-arm

[XenARM] Strange behaviour...

To: "xen-arm@xxxxxxxxxxxxxxxxxxx" <xen-arm@xxxxxxxxxxxxxxxxxxx>
Subject: [XenARM] Strange behaviour...
From: ROSSIER Daniel <Daniel.Rossier@xxxxxxxxxx>
Date: Fri, 22 May 2009 11:01:02 +0200
Accept-language: fr-FR, en-US
Acceptlanguage: fr-FR, en-US
Delivery-date: Fri, 22 May 2009 02:00:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-arm-request@lists.xensource.com?subject=help>
List-id: Xen ARM development <xen-arm.lists.xensource.com>
List-post: <mailto:xen-arm@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnau9TdL8+1sIX+R56ke9vHQs4kpA==
Thread-topic: Strange behaviour...
Hello,
 
Just a question:
The following code is taken from domain_build.c in Samsung's port, in the build_pagetable() function:
 
for (count = 0; count < 4; count++) {
                *(pde + count) = l2e_from_paddr((unsigned long)pte, __L2_PAGE_USER_TABLE);
                pte += 256; /* coarse page table on ARM */
        }
 
However, the l2e_from_paddr() begins with the following assertion: ASSERT((pa & ~(PADDR_MASK & PAGE_MASK)) == 0);
 
Which will fail since the pte address is incremented with 256 (*4), and is not 4 KB-page aligned.
 
Is the build_pagetable() function not used anymore?
 
Cheers
Daniel
 
 
 
_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm
<Prev in Thread] Current Thread [Next in Thread>