Commit 6a4f1cab authored by Mike Hibler's avatar Mike Hibler

Rangemap testing tweak.

parent 2e4c6b25
......@@ -1397,6 +1397,11 @@ comparemap(int verbose)
{
struct range *currange = ranges;
/* XXX adjust max */
if (inputmaxsec != 0)
ndz_rangemap_dealloc(rangemap, inputmaxsec,
NDZ_HIADDR - inputmaxsec + 1);
ndz_rangemap_dump(rangemap, verbose ? 0 : 1, NULL);
/* ranges should be 1-to-1 with map ranges */
......@@ -1457,10 +1462,6 @@ addvalid(uint32_t start, uint32_t size)
*lastvalid = valid;
lastvalid = &valid->next;
numranges++;
#ifdef TEST_RANGEMAP
allocrange((ndz_addr_t)start, (ndz_size_t)size);
#endif
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment