aboutsummaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@mailbox.org>2024-06-04 19:32:32 +0200
committerTianhao Wang <shrik3@mailbox.org>2024-06-11 15:17:12 +0200
commit23ec0f61a7a115753148e3688e81567867f65c70 (patch)
treeb73e69bde0f887df1ea0885363c51a63d3ea8424 /defs
parent6ddb7ff5e4edd749051fe624f018c33cf776c749 (diff)
chore: add v2p and p2v conversion wrt. id mapping
Also renamed a few symbols to avoid confusion.
Diffstat (limited to 'defs')
-rw-r--r--defs/x86_64-hm-linker.ld4
-rw-r--r--defs/x86_64-linker.ld4
2 files changed, 4 insertions, 4 deletions
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 */