Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-grub2
Commits
7755f66e
Commit
7755f66e
authored
Apr 06, 2011
by
Vladimir 'phcoder' Serbinenko
Browse files
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few
useful grub_dprintf's.
parent
461121ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7755f66e
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.
grub-core/lib/relocator.c
View file @
7755f66e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment