2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP.
This commit is contained in:
parent
7cae4377a2
commit
82da2062d8
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP.
|
||||
|
||||
2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Pass SIMPLE framebuffer size in bytes and not 64K blocks.
|
||||
|
|
|
@ -142,7 +142,7 @@ generate_image (const char *dir, char *prefix, FILE *out, char *mods[],
|
|||
}
|
||||
|
||||
for (p = path_list; p; p = p->next)
|
||||
total_module_size += (grub_util_get_image_size (p->name)
|
||||
total_module_size += (ALIGN_UP (grub_util_get_image_size (p->name), 4)
|
||||
+ sizeof (struct grub_module_header));
|
||||
|
||||
grub_util_info ("the total module size is 0x%x", total_module_size);
|
||||
|
|
Loading…
Reference in a new issue