From owner-freebsd-hackers Fri Jul 14 3:28:33 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mout2.silyn-tek.de (mout2.silyn-tek.de [194.25.165.70]) by hub.freebsd.org (Postfix) with ESMTP id 10B4B37C55B for ; Fri, 14 Jul 2000 03:28:28 -0700 (PDT) (envelope-from alex@big.endian.de) Received: from [192.168.32.34] (helo=mx2.silyn-tek.de) by mout2.silyn-tek.de with esmtp (Exim 3.13 #1) id 13D2hl-0008P5-00 for hackers@freebsd.org; Fri, 14 Jul 2000 12:28:25 +0200 Received: from p3e9d38e5.dip0.t-ipconnect.de ([62.157.56.229] helo=neutron.cichlids.com) by mx2.silyn-tek.de with esmtp (Exim 3.13 #1) id 13D2hh-0007u5-00 for hackers@freebsd.org; Fri, 14 Jul 2000 12:28:21 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id 6B675AB8C for ; Fri, 14 Jul 2000 12:29:38 +0200 (CEST) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id C125314B1E; Fri, 14 Jul 2000 12:28:40 +0200 (CEST) Date: Fri, 14 Jul 2000 12:28:40 +0200 To: hackers@freebsd.org Subject: removal of kvtop() on i386 Message-ID: <20000714122840.A82879@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. From: alex@big.endian.de (Alexander Langer) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I recently wanted to port the if_ed driver to alpha. FreeBSD/alpha still misses kvtop(), so I implemented it. However, bde told me, that the whole function kvtop() is wrong, since "0" is a legitimate physical address and therefore the panic is misplaced. That means, kvtop() is obsolete. Before I continue porting the driver, I'd like to have this issue resolved. Please take a look at this (kinda old) patch: - Remove pmap_kextract from pmap.h for alpha and add it to pmap.c - remove pmap_kextract from vm_machdep.c for i386 and add it to pmap.c - change all kvtop() to pmap_kextract() in the src. http://people.freebsd.org/~alex/remove-kvtop.diff I received no further comments about this patch from bde, and dillon didn't answer to an email concerning this. Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message