Jan Beulich
2009-Jul-09 11:06 UTC
[Xen-devel] Re: [PATCH v2.0 5/6] Handler m2p table and frametable fault in pagefault handler
>>> "Jiang, Yunhong" <yunhong.jiang@intel.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel
Jiang, Yunhong
2009-Jul-10 01:43 UTC
[Xen-devel] RE: [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@intel.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel