diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-23 14:15:09 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-23 14:15:09 +0000 |
| commit | bb685cca3a537f0df4205050a9c52b411dee95c6 (patch) | |
| tree | 4190c6ecd6c4362974ed7594e587a95234a1f686 /arch/x86_64/scripts | |
| parent | 05df795a860eaedf43602beadc2d1637bd2cdd14 (diff) | |
| download | teachos-bb685cca3a537f0df4205050a9c52b411dee95c6.tar.xz teachos-bb685cca3a537f0df4205050a9c52b411dee95c6.zip | |
x86_64: rename _*_linear to _*_physical
Diffstat (limited to 'arch/x86_64/scripts')
| -rw-r--r-- | arch/x86_64/scripts/kernel.ld | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld index 3d9a7ae..8af242f 100644 --- a/arch/x86_64/scripts/kernel.ld +++ b/arch/x86_64/scripts/kernel.ld @@ -3,7 +3,7 @@ ENTRY(_start) /***************************************************************************** * Virtual and linear start addresses of the TeachOS kernel *****************************************************************************/ -TEACHOS_LOW = 1M; +TEACHOS_PMA = 1M; PHDRS { boot_rodata PT_LOAD FLAGS(4); @@ -22,14 +22,14 @@ SECTIONS * 32-Bit mode, so we want to live down low, but we need to leave the 1MiB * hole open since some BIOS functionality resides below it. ***************************************************************************/ - . = TEACHOS_LOW; + . = TEACHOS_PMA; /*************************************************************************** * We want to be able to be able to access all memory (linear and virtual) * during bootstrapping and operation. To achieve this, we define some * symbols at the beginning. ***************************************************************************/ - _start_linear = .; + _start_physical = .; _start_virtual = .; /*************************************************************************** @@ -144,7 +144,7 @@ SECTIONS * symbols to mark the end of our loaded image. ***************************************************************************/ _end_virtual = ADDR(.bss) + SIZEOF(.bss); - _end_linear = _end_virtual; + _end_physical = _end_virtual; /DISCARD/ : { *(.comment) } } |
