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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]