This needs some more description in the commit message.

> --- a/arch/x86/xen/smp.c
> +++ b/arch/x86/xen/smp.c
[...]
> +             hctxt->cpu_regs.x86_32.cs_base = 0;
> +             hctxt->cpu_regs.x86_32.cs_limit = ~0u;
> +             hctxt->cpu_regs.x86_32.cs_ar = 0xc9b;
> +             hctxt->cpu_regs.x86_32.ds_base = 0;
> +             hctxt->cpu_regs.x86_32.ds_limit = ~0u;
> +             hctxt->cpu_regs.x86_32.ds_ar = 0xc93;
> +             hctxt->cpu_regs.x86_32.es_base = 0;
> +             hctxt->cpu_regs.x86_32.es_limit = ~0u;
> +             hctxt->cpu_regs.x86_32.es_ar = 0xc93;
> +             hctxt->cpu_regs.x86_32.ss_base = 0;
> +             hctxt->cpu_regs.x86_32.ss_limit = ~0u;
> +             hctxt->cpu_regs.x86_32.ss_ar = 0xc93;
> +             hctxt->cpu_regs.x86_32.tr_base = 0;
> +             hctxt->cpu_regs.x86_32.tr_limit = 0xff;
> +             hctxt->cpu_regs.x86_32.tr_ar = 0x8b;

Lots of hard-coded values here.  Should this be #defined somewhere?

David

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

Reply via email to