Lines Matching refs:bios_start
36 unsigned long bios_start = 0, ebda_start = 0; in find_trampoline_placement() local
56 bios_start = *(unsigned short *)0x413 << 10; in find_trampoline_placement()
59 if (bios_start < BIOS_START_MIN || bios_start > BIOS_START_MAX) in find_trampoline_placement()
60 bios_start = BIOS_START_MAX; in find_trampoline_placement()
62 if (ebda_start > BIOS_START_MIN && ebda_start < bios_start) in find_trampoline_placement()
63 bios_start = ebda_start; in find_trampoline_placement()
65 bios_start = round_down(bios_start, PAGE_SIZE); in find_trampoline_placement()
69 unsigned long new = bios_start; in find_trampoline_placement()
74 if (bios_start <= entry->addr) in find_trampoline_placement()
82 if (bios_start > entry->addr + entry->size) in find_trampoline_placement()
93 if (new - TRAMPOLINE_32BIT_SIZE > bios_start) in find_trampoline_placement()
96 bios_start = new; in find_trampoline_placement()
101 return bios_start - TRAMPOLINE_32BIT_SIZE; in find_trampoline_placement()