From owner-freebsd-mips@FreeBSD.ORG Wed Jan 12 11:38:26 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9663B106564A for ; Wed, 12 Jan 2011 11:38:26 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 303D68FC12 for ; Wed, 12 Jan 2011 11:38:25 +0000 (UTC) Received: by wyf19 with SMTP id 19so452914wyf.13 for ; Wed, 12 Jan 2011 03:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=6r8qWomfBoomeN10Hspb+AYXeKpJTgoQm67TyZEf8ms=; b=T36sy35aZNZJPozGplpi/z3Qb4L56sgxj2Xy1xyvWf7D3UHtnePRgge5AjyGTTU/MS 8mxZEIreUW9ZpN/XaA/79YxYy39mWlMn9VX7Tt2ENa9yaSvJ5h5iV0xuSuzkWxfYdLF5 L8CDrLXp8TQKF5Uzb+GFnT3ZONic0qZvAXuiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=F6V3oH3mfXJmWXyl3X2lr9R0YwuSY3wUb5fLwY6+y39CHwIZnLfzAEDIPV6rffjJOp ldJX5dA9k2OfRk90hvUf2b/QCdlJcYcFO6GTIZdhKdER6C7DHtCizUN8fF+/pKrs8s7C BB6SXWN4/nNrvnWSaArf0N9s2crJwQathBTKY= MIME-Version: 1.0 Received: by 10.227.16.100 with SMTP id n36mr816424wba.160.1294832304940; Wed, 12 Jan 2011 03:38:24 -0800 (PST) Received: by 10.227.156.3 with HTTP; Wed, 12 Jan 2011 03:38:24 -0800 (PST) Date: Wed, 12 Jan 2011 17:08:24 +0530 Message-ID: From: "Jayachandran C." To: freebsd-mips@freebsd.org, Alan Cox Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: [PATCH] Use vm_paddr_t for physical address on MIPS X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 11:38:26 -0000 There are a few places in MIPS where vm_offset_t is used for physical addresses. The attached patch fixes them, and also contains changes to use uintmax_t when printing PTE entries and physical addresses. I plan to check this in if there are no objections, before checking in the 64 bit PTE changes. These changes will be useful if we decide to have 64 bit physical address on n32(32bit) compilation. JC.