Re: [patch] vm86: Clear AC on INT

From: Kasper Dupont (kasperd@daimi.au.dk)
Date: Thu Aug 01 2002 - 11:21:45 EST


Alan Cox wrote:
>
> On Thu, 2002-08-01 at 16:55, Kasper Dupont wrote:
> > This would be similar to the use of the use of the VIF flag to
> > emulate the IF flag. This flag has actually got me wondering:
> > AFAIR the flag is mentioned in Intel specs, but it looks like
> > in Linux the flag is implemented 100% in software with no help
> > from the CPU. Is that correct, or did I miss something?
>
> The kernel itself doesn't use the alignment flags but some applications
> do. For example some language systems use alignment traps for
> typechecking by adding a type code (0-3) to the address and
> dereferencing it

Ehrm, that wasn't my point. My point was that if the feature exist
in virtual 86 mode but not in real mode, the kernel should prevent
it from being used in virtual 86 mode because it is supposed to
emulate real mode.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razrep@daimi.au.dk
or mailto:mcxumhvenwblvtl@skrammel.yaboo.dk
-
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 : Wed Aug 07 2002 - 22:00:16 EST