lkml.org 
[lkml]   [2007]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 3/3] boot bzImages under paravirt
Eric W. Biederman wrote:
>>> load the segments as well.
>>>
>>> Gujin looks like it loads just %es and %ds.
>>>
>>>
>> We should be able to make do with that until we've got our own gdt.
>>
>
> Right after the segments loads we have:
> leal 0x40(%esi), %esp
> call 1f
> 1: popl %ebp
> subl $1b, %ebp
>
> That uses %ss and %ds. Can we use a segment override on a call
> instruction?
>

I overlooked Gujin missing %ss. That's harsh. Easy for them to fix,
presumably.

> Yes. Exactly like we do for real mode code, and with exactly the same
> values. Just in a little different format.

Well, fits in well with Xen's requirements, since it wants ELF notes
there for exactly the same reason.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-04 20:29    [W:0.504 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site