diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-06 13:40:24 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-06 13:40:24 +0000 |
| commit | 78153377d8a964d6b7290d966e5c1d30369abc2c (patch) | |
| tree | ee7c4ba6103e75c832a61eb064203ade7ae574de /arch/x86_64/src/kernel | |
| parent | 951b314b655781dc59aee24cf952d03bf3b3ee83 (diff) | |
| download | teachos-78153377d8a964d6b7290d966e5c1d30369abc2c.tar.xz teachos-78153377d8a964d6b7290d966e5c1d30369abc2c.zip | |
Improve naming
Diffstat (limited to 'arch/x86_64/src/kernel')
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index 481264c..636ddf2 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -40,12 +40,12 @@ namespace teachos::arch::kernel auto print_elf_sections(arch::memory::elf_symbols_section * symbol) -> void { - auto expected_entry_size = symbol->entsize; + auto expected_entry_size = symbol->entry_size; constexpr auto actual_entry_size = sizeof(arch::memory::elf_section_header); assert(expected_entry_size == actual_entry_size); auto begin = &symbol->sections; - auto end = begin + symbol->num; + auto end = begin + symbol->number_of_sections; for (auto section = begin; section != end; ++section) { video::vga::text::write("Looping Code section", video::vga::text::common_attributes::green_on_black); |
