Followup to: <m1pttxlebr.fsf@frodo.biederman.org>
By author: ebiederm@xmission.com (Eric W. Biederman)
In newsgroup: linux.dev.kernel
>
> What I am proposing is an interface change. The only known bootloader
> this does not fix is gujin and the fix of loading segments earlier is
> trivial, and fully backwards compatible. The advantage of this patch
> is that no future changes to the kernel's gdt will affect bootloaders.
>
Please detail how the interface changes. It is not at all clear from
the code.
> @@ -101,7 +96,8 @@
> popl %eax # hcount
> movl $0x100000,%edi
> cli # make sure we don't get interrupted
> - ljmp $(__KERNEL_CS), $0x1000 # and jump to the move routine
> + movl $0x1000, %ebp
> + jmpl *%ebp # and jump to the move routine
>
> /*
> * Routine (template) for moving the decompressed kernel in place,
Why are you avoiding to set __SETUP_CS here?
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com> - 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/
This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:31 EST