taglinefilesource code
thislist39arch/sparc/prom/memory.cprom_sortmemlist(struct linux_mlist_v0 *thislist)
thislist46arch/sparc/prom/memory.cfor(i=0; thislist[i].theres_more != 0; i++) {
thislist47arch/sparc/prom/memory.clowest = thislist[i].start_adr;
thislist48arch/sparc/prom/memory.cfor(mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++)
thislist49arch/sparc/prom/memory.cif(thislist[mitr].start_adr < lowest) {
thislist50arch/sparc/prom/memory.clowest = thislist[mitr].start_adr;
thislist53arch/sparc/prom/memory.cif(lowest == thislist[i].start_adr) continue;
thislist54arch/sparc/prom/memory.ctmpaddr = thislist[swapi].start_adr;
thislist55arch/sparc/prom/memory.ctmpsize = thislist[swapi].num_bytes;
thislist57arch/sparc/prom/memory.cthislist[mitr].start_adr = thislist[mitr-1].start_adr;
thislist58arch/sparc/prom/memory.cthislist[mitr].num_bytes = thislist[mitr-1].num_bytes;
thislist60arch/sparc/prom/memory.cthislist[i].start_adr = tmpaddr;
thislist61arch/sparc/prom/memory.cthislist[i].num_bytes = tmpsize;