Subject: README: pmap_extract() change
To: None <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 07/08/1999 11:25:33
I've change the signature of pmap_extract() from:
paddr_t pmap_extract(pmap_t, vaddr_t);
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
The old interface has long annoyed me, and the bug in it finally bit me
in the arse (the bug being there is no way to differentiate between
"address not mapped" and "physical address 0").
The new interface returns TRUE if the address is mapped, FALSE if the address
is not mapped. If the paddr_t * argument is not NULL, it's filled in with
the resulting physical address.
I updated everything, but in case I screwed up on your platform, please
send a bug report w/ send-pr(1), and I'll deal with it ASAP.
I've tested i386 so far, and will test at least mac68k and alpha later
today (and hopefully mips and maybe, but not likely, sparc; it's an SS2
still in an a.out world).
-- Jason R. Thorpe <firstname.lastname@example.org>