From 23ec0f61a7a115753148e3688e81567867f65c70 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Tue, 4 Jun 2024 19:32:32 +0200 Subject: chore: add v2p and p2v conversion wrt. id mapping Also renamed a few symbols to avoid confusion. --- defs/x86_64-hm-linker.ld | 4 ++-- defs/x86_64-linker.ld | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'defs') diff --git a/defs/x86_64-hm-linker.ld b/defs/x86_64-hm-linker.ld index 0c97b55..563940e 100644 --- a/defs/x86_64-hm-linker.ld +++ b/defs/x86_64-hm-linker.ld @@ -93,10 +93,10 @@ SECTIONS .bss : AT(ADDR(.bss) - KERNEL_OFFSET) { - PROVIDE (___BSS_PM_START__ = .); + PROVIDE (___BSS_START__ = .); *(".bss") *(".bss.*") - PROVIDE (___BSS_PM_END__ = .); + PROVIDE (___BSS_END__ = .); } .rodata : AT(ADDR(.rodata) - KERNEL_OFFSET) diff --git a/defs/x86_64-linker.ld b/defs/x86_64-linker.ld index 6be14cb..f22f5ad 100644 --- a/defs/x86_64-linker.ld +++ b/defs/x86_64-linker.ld @@ -71,10 +71,10 @@ SECTIONS .bss : { - PROVIDE (___BSS_PM_START__ = .); + PROVIDE (___BSS_START__ = .); *(".bss") *(".bss.*") - PROVIDE (___BSS_PM_END__ = .); + PROVIDE (___BSS_END__ = .); } /* global page table for 64-bit long mode */ -- cgit v1.2.3-70-g09d2