given.next = NULL;
memlist = &given;
used_memlist = 0;
- assert(given.phys);
assert(given.length);
}
r = OK;
- for(ml = memlist; ml; ml = ml->next) {
- assert(ml->phys);
- assert(ml->length);
- }
-
for(ml = memlist; ml; ml = ml->next) {
struct phys_region *newphysr = NULL;
struct phys_block *newpb = NULL;
break;
}
- assert(ml->phys);
- assert(ml->length);
-
/* New physical block. */
assert(!(ml->phys % VM_PAGE_SIZE));