[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 05/23] x86/mm: move ro page fault emulation code
>>> On 14.09.17 at 14:58, <wei.liu2@xxxxxxxxxx> wrote: > --- /dev/null > +++ b/xen/include/asm-x86/pv/mm.h > @@ -0,0 +1,38 @@ > +/* > + * asm-x86/pv/mm.h > + * > + * Memory management interfaces for PV guests > + * > + * Copyright (C) 2017 Wei Liu <wei.liu2@xxxxxxxxxx> > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms and conditions of the GNU General Public > + * License, version 2, as published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * General Public License for more details. > + * > + * You should have received a copy of the GNU General Public > + * License along with this program; If not, see > <http://www.gnu.org/licenses/>. > + */ > + > +#ifndef __X86_PV_MM_H__ > +#define __X86_PV_MM_H__ > + > +#ifdef CONFIG_PV > + > +int pv_ro_page_fault(unsigned long addr, struct cpu_user_regs *regs); > + > +#else > + > +static inline int pv_ro_page_fault(unsigned long addr, > + struct cpu_user_regs *regs) > +{ ASSERT_UNREACHABLE()? In any event Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |