Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 12:28:40 +0200
From:      alex@big.endian.de (Alexander Langer)
To:        hackers@freebsd.org
Subject:   removal of kvtop() on i386
Message-ID:  <20000714122840.A82879@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000714122840.A82879>