lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 02 Jul 2007 07:34:20 -0400
From:	Brian Gerst <bgerst@...ntduck.org>
To:	"Ahmed S. Darwish" <darwish.07@...il.com>
CC:	Andreas Schwab <schwab@...e.de>,
	Jeremy Fitzhardinge <jeremy@...p.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [i386] Questions regarding provisional page tables initialization

Ahmed S. Darwish wrote:
> now back to head.S code:
>  	leal    0x007(%edi),%ecx	/* Create PDE entry */
> 
> Isn't the above line the same condition (bytes, not bits displacement) ?. 
> Thanks for your patience !.

The leal instruction (Load Effective Address) is often used as a way to
add a constant to one register and store the result in another register
in a single instruction.  The values don't even have to be addresses at
all, since no memory is actually referenced.  Otherwise this would be
written as:

	movl %edi,%ecx
	addl $0x007, %ecx

--
				Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ