Re: [patch] vm86: Clear AC on INT

Alan Cox (alan@lxorguk.ukuu.org.uk)
01 Aug 2002 17:52:30 +0100


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/