Subject: rminit()/rmfree() etc.
To: None <tech-kern@NetBSD.ORG>
From: matthew green <>
List: tech-kern
Date: 09/16/1995 04:16:56

the rminit() function from kern/subr_rmap.c doesn't allow an initial
address of 0 -- it panic's if this is passed.  i'm looking at fixing
the way we're doing swap at the moment, and, i want to be able to
swap directly to files as well.  seeing that files don't have labels
or bootblocks at the start of them, there is no requirement to ignore
the start of the file (as is done for a partition), but, to do this
consistantly, i'd have to pass an address of 0 to rminit().

the rmap stuff is used 1 or 2 times for each port.  once for the
swapmap, and once for the hp300/sparc/vax ports for other things.

what's the rationale behind rminit() making 0 an invalid address ?