mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
loongarch: Rename function names
According to the relocation documentation, the following function names are renamed to show their exact meaning: - from grub_loongarch64_xxx64_hi12() to grub_loongarch64_abs64_hi12(), - from grub_loongarch64_xxx64_hi12() to grub_loongarch64_abs64_lo20(). Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
1385254f17
commit
22a6f8a482
4 files changed
+8
-8
No files matched your search
@@ -235,7 +235,7 @@ void grub_loongarch64_xxx_lo12 (grub_uint32_t *place, grub_int64_t offset)
|
||||
*place |= grub_cpu_to_le32 (offset << 10) & ~insmask;
|
||||
}
|
||||
|
||||
void grub_loongarch64_xxx64_hi12 (grub_uint32_t *place, grub_int64_t offset)
|
||||
void grub_loongarch64_abs64_hi12 (grub_uint32_t *place, grub_int64_t offset)
|
||||
{
|
||||
const grub_uint32_t insmask = grub_cpu_to_le32_compile_time (0xffc003ff);
|
||||
grub_uint32_t val;
|
||||
@@ -247,7 +247,7 @@ void grub_loongarch64_xxx64_hi12 (grub_uint32_t *place, grub_int64_t offset)
|
||||
*place |= grub_cpu_to_le32 (val) & ~insmask;
|
||||
}
|
||||
|
||||
void grub_loongarch64_xxx64_lo20 (grub_uint32_t *place, grub_int64_t offset)
|
||||
void grub_loongarch64_abs64_lo20 (grub_uint32_t *place, grub_int64_t offset)
|
||||
{
|
||||
const grub_uint32_t insmask = grub_cpu_to_le32_compile_time (0xfe00001f);
|
||||
grub_uint32_t val;
|
||||
|
||||
Reference in new issue
Block a user