lkml.org 
[lkml]   [2004]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BOOT_CS
Eric W. Biederman wrote:
> hpa@zytor.com (H. Peter Anvin) writes:
>
>>Anyone happen to know of any legitimate reason not to reload %cs in
>>head.S?
>
> Other than the fact it is strongly rude and error prone to depend on
> the contents of a global descriptor table you did not setup?
>

We already do that, as you might have noticed (we set all the data
registers to __BOOT_DS; CS is the only that is changed.)

>
> That is almost nice. Care to export where the bottom of the page
> tables or even better where the bottom of the kernel is for those
> folks who want to place their ramdisk as low in memory as possible?
>

The problem is that you don't know until it's too late, since it can
depend on dynamic factors. This is part of why your insistence of
putting the ramdisk in the "most incorrect" position is simply wrong.

-hpa
-
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: 2005-03-22 14:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site