Sort chunks
This commit is contained in:
parent
d92b0c01d4
commit
72ebf8b87c
2 changed files with 86 additions and 30 deletions
|
@ -27,23 +27,6 @@ extern grub_size_t grub_relocator_forward_size;
|
|||
extern grub_size_t grub_relocator_backward_size;
|
||||
extern grub_size_t grub_relocator_jumper_size;
|
||||
|
||||
struct grub_relocator
|
||||
{
|
||||
struct grub_relocator_chunk *chunks;
|
||||
grub_addr_t postchunks;
|
||||
grub_addr_t highestaddr;
|
||||
grub_addr_t highestnonpostaddr;
|
||||
grub_size_t relocators_size;
|
||||
};
|
||||
|
||||
struct grub_relocator_chunk
|
||||
{
|
||||
struct grub_relocator_chunk *next;
|
||||
grub_addr_t src;
|
||||
grub_addr_t target;
|
||||
grub_size_t size;
|
||||
};
|
||||
|
||||
void
|
||||
grub_cpu_relocator_init (void);
|
||||
grub_err_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue