From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 11 13:45:11 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78DC110657D4 for ; Wed, 11 Feb 2009 13:45:11 +0000 (UTC) (envelope-from mehulc87@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id C61118FC1C for ; Wed, 11 Feb 2009 13:45:09 +0000 (UTC) (envelope-from mehulc87@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so106976ywt.13 for ; Wed, 11 Feb 2009 05:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=u80k1Vyseen35ympi0fyKTtgOpFtcEyqxB3RLP3oPR0=; b=lfqr3o5SEbO1cQXLr7NYd8MrrBZjcxkup+ROonhonnwADkt4D4l6uyH/9ioyyfia6O vNACuKYiiqsBNBMuz4Ug/V3ol+PtY0N6mF3ALJwRWX7fxpNM5awnwddd0ALMdjI+URkA AHJSwKuhszp2rkPhuqSXiMOAA4p/QbOfqnJgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ERsFVD109L4EOUwRbGuJXPoAMyzozZL/RnjSTE/2nyIiYZ1kG1ff/nK3HQmR4hmOMP leSqI+6p7nKHNzaFhDP2BJidClHdPQMVUREh3sfUch/FXhIhvqPI+R3f/ywKnsDxiwAt OTXfgHvj2qwQ5S6zu6VJfURvaIca3eTn3UR3Y= MIME-Version: 1.0 Received: by 10.142.86.4 with SMTP id j4mr662350wfb.111.1234359908839; Wed, 11 Feb 2009 05:45:08 -0800 (PST) Date: Wed, 11 Feb 2009 19:15:08 +0530 Message-ID: <251d650c0902110545w7c521e66tcb74f8ecc83e17a1@mail.gmail.com> From: Mehul Chadha To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: understanding of PTD symbol X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 13:45:12 -0000 Hello all, I am having doubts in understanding the usage of the symbol PTD. Could anyone pls explain the usage of PTD in the FreeBSD kernel?? In pmap_growkernel when we execute the following instruction wht is returned by pdir_pde ? Is it the physical address of a page table for KVA addressing?? while (pdir_pde(PTD, kernel_vm_end)) When I used objdump on the kernel executable i found the address of PTD symbol to be 0xBFEFF000 , I could not understand this , as in a virtual memory with 1G/3G split the kernel addressing must be between the addresses 0xC0000000 and 0xFFFFFFFF. Regards, Mehul