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-next>] [day] [month] [year] [list]
Date:	Tue, 03 Feb 2015 18:25:32 +0600
From:	Alex Kuleshov <kuleshovmail@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: [x86_64] Question about early page tables initialization

Hello All,

I have a question about page tables initialization in the
arch/x86/boot/compressed/head_64.S

After we clear memory for page tables, there is code which
build PML4:

	leal	pgtable + 0(%ebx), %edi
	leal	0x1007(%edi), %eax      
	movl	%eax, 0(%edi)
        
Why there is offset 0x1007 instead just 0x7? 0x1007 is
4k + 7bit (PML4E) flags as i understand correctly. But
why we skip first 4k here?

Thank you.
--
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