Home
last modified time | relevance | path

Searched refs:biosmap (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/x86_64/kernel/
De820.c265 static int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map) in sanitize_e820_map() argument
328 if (biosmap[i].addr + biosmap[i].size < biosmap[i].addr) in sanitize_e820_map()
338 change_point[chgidx]->addr = biosmap[i].addr; in sanitize_e820_map()
339 change_point[chgidx++]->pbios = &biosmap[i]; in sanitize_e820_map()
340 change_point[chgidx]->addr = biosmap[i].addr + biosmap[i].size; in sanitize_e820_map()
341 change_point[chgidx++]->pbios = &biosmap[i]; in sanitize_e820_map()
416 memcpy(biosmap, new_bios, new_nr*sizeof(struct e820entry)); in sanitize_e820_map()
438 static int __init copy_e820_map(struct e820entry * biosmap, int nr_map) in copy_e820_map() argument
445 unsigned long start = biosmap->addr; in copy_e820_map()
446 unsigned long size = biosmap->size; in copy_e820_map()
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dsetup.c511 static int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map) in sanitize_e820_map() argument
574 if (biosmap[i].addr + biosmap[i].size < biosmap[i].addr) in sanitize_e820_map()
585 if (biosmap[i].size != 0) { in sanitize_e820_map()
586 change_point[chgidx]->addr = biosmap[i].addr; in sanitize_e820_map()
587 change_point[chgidx++]->pbios = &biosmap[i]; in sanitize_e820_map()
588 change_point[chgidx]->addr = biosmap[i].addr + biosmap[i].size; in sanitize_e820_map()
589 change_point[chgidx++]->pbios = &biosmap[i]; in sanitize_e820_map()
666 memcpy(biosmap, new_bios, new_nr*sizeof(struct e820entry)); in sanitize_e820_map()
688 static int __init copy_e820_map(struct e820entry * biosmap, int nr_map) in copy_e820_map() argument
695 unsigned long long start = biosmap->addr; in copy_e820_map()
[all …]