lkml.org 
[lkml]   [2008]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Regression: boot failure on AMD Elan TS-5500
Eric W. Biederman wrote:
> Sean Young <sean@mess.org> writes:
>
>> On Mon, Jun 30, 2008 at 02:52:10PM -0700, Jeremy Fitzhardinge wrote:
>>> It's a bit odd that the boot loader neglected to set up ds properly, but
>>> changing the testb line to
>>>
>>> testb $(1<<6), %cs:BP_loadflags(%esi)
>>>
>>> should work. (Or perhaps a %ss: override would be better?)
>> Yup, it does (%cs: prefix).
>
> Guys I have a fuzzy memory of reads and definitely writes through %cs not working,
> on some processor models. i386?
>

You can never write through %cs in protected mode.

You can read through %cs: in protected mode unless %cs contains an
execute-only descriptor.

-hpa


\
 
 \ /
  Last update: 2008-07-06 05:17    [W:0.054 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site