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

Re: [Xen-devel] [PATCH] x86/boot: Use mov to cr0 in preference to lmsw



>>> On 28.08.13 at 12:05, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
> lmsw is for compability for 286 processors only, and any more modern
> processors are recomended to use mov to cr0.  Xen has never been capable of
> booting on a 286, given its multiboot entry.

I don't really mind this part (albeit it results in growth of the
trampoline code), but ...

> Furthermore, this avoids needless playing with the CD, NW and AM bits.  
> These do get explicitly chosen slightly later on boot.

... I clearly don't understand what you're referring to here: These
bits don't get modified by LMSW.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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