]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 6 Apr 2011 12:04:52 +0000 (14:04 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 6 Apr 2011 12:04:52 +0000 (14:04 +0200)
useful grub_dprintf's.

ChangeLog
grub-core/lib/relocator.c

index 84fcc5627f1153fc2a66a509b09239da7396b644..b110a98033c157c307a77587f3845e7c7d5a3ffd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-06  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
+       useful grub_dprintf's.
+
 2011-04-06  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields.
index 940b9133bf430a41e90d7d435ac20b07b9a61b90..3642de9dc639708dc97212982d892370229a639d 100644 (file)
@@ -1416,11 +1416,17 @@ grub_relocator_alloc_chunk_align (struct grub_relocator *rel,
        break;
     }
 
+  grub_dprintf ("relocator", "relocators_size=%ld\n",
+               (unsigned long) rel->relocators_size);
+
   if (chunk->src < chunk->target)
     rel->relocators_size += grub_relocator_backward_size;
   if (chunk->src > chunk->target)
     rel->relocators_size += grub_relocator_forward_size;
 
+  grub_dprintf ("relocator", "relocators_size=%ld\n",
+               (unsigned long) rel->relocators_size);
+
   chunk->size = size;
   chunk->next = rel->chunks;
   rel->chunks = chunk;