Andi Kleen <[EMAIL PROTECTED]> writes:

> On Tue, 22 Aug 2006 02:37:44 -0600
> [EMAIL PROTECTED] (Eric W. Biederman) wrote:
>
>> 
>> In long mode the %cs is largely a relic.  However there are a few cases
>> like lret 
>
> You mean iret?

Yes, sorry.

>
>> +     * jump.  In addition we need to ensure %cs is set so we make this
>> +     * a far return.        
>>       */
>>      movq    initial_code(%rip),%rax
>> -    jmp     *%rax
>> +    pushq   $__KERNEL_CS
>> +    pushq   %rax
>> +    lretq
>
> Ok merged thanks
>
> -Andi
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to