Definitively remove allocation from region start if no free header is present at the begining (at most 15 bytes loss)
This commit is contained in:
parent
f0847685dd
commit
1c7a1bab8c
1 changed files with 0 additions and 11 deletions
|
@ -359,17 +359,6 @@ malloc_in_range (struct grub_relocator *rel,
|
||||||
p = pa->next;
|
p = pa->next;
|
||||||
}
|
}
|
||||||
while (pa != r->first);
|
while (pa != r->first);
|
||||||
/* FIXME */
|
|
||||||
if (0)//if (!pre_added)
|
|
||||||
{
|
|
||||||
events[N].type = REG_BEG_START;
|
|
||||||
events[N].pos = (grub_addr_t) r - r->pre_size;
|
|
||||||
events[N].reg = r;
|
|
||||||
N++;
|
|
||||||
events[N].type = REG_BEG_END;
|
|
||||||
events[N].pos = (grub_addr_t) r;
|
|
||||||
N++;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS
|
#if GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS
|
||||||
|
|
Loading…
Add table
Reference in a new issue