2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2013 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef GRUB_ARM_RELOC_H
20 #define GRUB_ARM_RELOC_H 1
22 grub_err_t
grub_arm_reloc_abs32 (grub_uint32_t
*addr
, Elf32_Addr sym_addr
);
25 grub_arm_thm_call_check_offset (grub_int32_t offset
, int is_thumb
);
27 grub_arm_thm_call_get_offset (grub_uint16_t
*target
);
29 grub_arm_thm_call_set_offset (grub_uint16_t
*target
, grub_int32_t offset
);
32 grub_arm_thm_jump19_get_offset (grub_uint16_t
*target
);
34 grub_arm_thm_jump19_set_offset (grub_uint16_t
*target
, grub_int32_t offset
);
36 grub_arm_thm_jump19_check_offset (grub_int32_t offset
);
39 grub_arm_jump24_get_offset (grub_uint32_t
*target
);
41 grub_arm_jump24_check_offset (grub_int32_t offset
);
43 grub_arm_jump24_set_offset (grub_uint32_t
*target
,