Re: [patch] vm86: Clear AC on INT

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Aug 01 2002 - 11:52:30 EST


On Thu, 2002-08-01 at 16:15, Richard B. Johnson wrote:
> Alignment-check does not exist in real mode. Therefore AC flags
> mean nothing. In fact, you can't even access more than 16 bits
> of the flags register in real mode, even by playing tricks
> (pushf pushes only 16 bits, even if you prefix it with 0x66).

The kernel using virtual 8086 mode, not real mode. In Virtual 8086 mode
the alignment trap is enforced and honoured.

-
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:15 EST