[Lguest] [PATCH 18/25] [PATCH] turn priviled operations into macros in entry.S

Jeremy Fitzhardinge jeremy at goop.org
Thu Aug 9 15:21:11 EST 2007


Steven Rostedt wrote:
> 	/*
> 	 * x86 arch doesn't have an easy way to find out where
> 	 * gs is located. So we need to read the MSR. But first
> 	 * we need to save off the rcx, rax and rdx.
>   
Why don't you store it in gs?  movq %gs:my_gs_base, %rax?

    J



More information about the Lguest mailing list