Re: [i386] Questions regarding provisional page tables initialization

Andreas Schwab
2007-07-02T09:18:18Z

"Ahmed S. Darwish" <darwish.07@gmail.com> writes:

> yes, but isn't the displacement here (0x007) a _bytes_ displacement ?. so
> effectively, %ecx now contains physical address of pg0 + 7bytes. Is it A
> meaningful place/address ?.

It's not pg0 + 7bytes, it is pg0 plus 3 flag bits. Since a page address
is always page aligned, the low bits are reused for flags.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."