diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-13 08:28:30 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-13 08:28:30 +0000 |
| commit | 553f3a824511bb8107982b2b2737f5b1dff59855 (patch) | |
| tree | caec969baa899969e1171813a028fa50aab8b2a6 /arch/x86_64/src/memory/multiboot.cpp | |
| parent | b28082b1642f049fcf171a85c7d6841093b0682a (diff) | |
| download | teachos-553f3a824511bb8107982b2b2737f5b1dff59855.tar.xz teachos-553f3a824511bb8107982b2b2737f5b1dff59855.zip | |
Add missing cpp files to cmake and fix elf alignment issues
Diffstat (limited to 'arch/x86_64/src/memory/multiboot.cpp')
| -rw-r--r-- | arch/x86_64/src/memory/multiboot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/multiboot.cpp b/arch/x86_64/src/memory/multiboot.cpp index 91e7550..3f6248d 100644 --- a/arch/x86_64/src/memory/multiboot.cpp +++ b/arch/x86_64/src/memory/multiboot.cpp @@ -1,4 +1,4 @@ -#include "multiboot.hpp" +#include "arch/memory/multiboot.hpp" namespace teachos::arch::memory { @@ -34,7 +34,7 @@ namespace teachos::arch::memory auto elf_section_header::is_null() const -> bool { - return name_table_index == 0U && type == elf_section_type::UNSPECIFIED && + return name_table_index == 0U && type == elf_section_type::INACTIVE && flags == teachos::arch::memory::elf_section_flags{0U} && virtual_address == 0U && file_offset == 0U && additional_information == 0U && address_alignment == 0U && fixed_table_entry_size == 0U; } |
