[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Question about alignment check in sh_x86_emulate_write


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Su, Disheng" <disheng.su@xxxxxxxxx>
  • Date: Tue, 4 Dec 2007 20:38:01 +0800
  • Delivery-date: Tue, 04 Dec 2007 04:38:43 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acg2coIjMoIxZjmzTN2D1Cu56aeTEQ==
  • Thread-topic: Question about alignment check in sh_x86_emulate_write

In in sh_x86_emulate_write:
        if ( vaddr & (bytes-1) )
                return X86EMUL_UNHANDLE;
I met a problem the vaddr is not aligned on word or dword, but have to
emulate it. 
I am wordering about the reason for this check. Is it safe to get rid of
it?

Best Regards,
Disheng, Su

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.