|
@@ -37,10 +37,11 @@ static void remove_e820_regions(struct resource *avail)
|
|
|
|
|
|
void arch_remove_reservations(struct resource *avail)
|
|
|
{
|
|
|
- /* Trim out BIOS area (low 1MB) and E820 regions */
|
|
|
+ /* Trim out BIOS areas (low 1MB and high 2MB) and E820 regions */
|
|
|
if (avail->flags & IORESOURCE_MEM) {
|
|
|
if (avail->start < BIOS_END)
|
|
|
avail->start = BIOS_END;
|
|
|
+ resource_clip(avail, BIOS_ROM_BASE, BIOS_ROM_END);
|
|
|
|
|
|
remove_e820_regions(avail);
|
|
|
}
|