Fix JUMP_SIZEOF
This commit is contained in:
parent
96c210daa3
commit
badcfeeac0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ extern grub_uint8_t grub_relocator32_backward_start;
|
||||||
extern grub_uint8_t grub_relocator32_backward_end;
|
extern grub_uint8_t grub_relocator32_backward_end;
|
||||||
|
|
||||||
#define REGW_SIZEOF (2 * sizeof (grub_uint32_t))
|
#define REGW_SIZEOF (2 * sizeof (grub_uint32_t))
|
||||||
#define JUMP_SIZEOF (sizeof (grub_uint32_t))
|
#define JUMP_SIZEOF (2 * sizeof (grub_uint32_t))
|
||||||
|
|
||||||
#define RELOCATOR_SRC_SIZEOF(x) (&grub_relocator32_##x##_end \
|
#define RELOCATOR_SRC_SIZEOF(x) (&grub_relocator32_##x##_end \
|
||||||
- &grub_relocator32_##x##_start)
|
- &grub_relocator32_##x##_start)
|
||||||
|
|
Loading…
Reference in a new issue