Date: Tue, 1 Jan 2008 06:35:03 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132230 for review Message-ID: <200801010635.m016Z3PQ017196@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132230 Change 132230 by kmacy@pandemonium:kmacy:xen31 on 2008/01/01 06:34:15 don't use inline assembly so long as we're maintaining a separate ptom mappping Affected files ... .. //depot/projects/xen31/sys/i386/include/cpufunc.h#5 edit Differences ... ==== //depot/projects/xen31/sys/i386/include/cpufunc.h#5 (text+ko) ==== @@ -417,8 +417,15 @@ static __inline void load_cr3(u_int data) { - +#ifdef XEN + xen_load_cr3(data); +#else + /* + * Xen will actually trap the cr3 load - but we need to + * pass it a machine address + */ __asm __volatile("movl %0,%%cr3" : : "r" (data) : "memory"); +#endif } static __inline u_int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801010635.m016Z3PQ017196>