aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/include/arch/memory/multiboot/elf_symbols_section.hpp2
-rw-r--r--arch/x86_64/include/arch/memory/multiboot/info.hpp2
-rw-r--r--arch/x86_64/include/arch/memory/multiboot/memory_map.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/include/arch/memory/multiboot/elf_symbols_section.hpp b/arch/x86_64/include/arch/memory/multiboot/elf_symbols_section.hpp
index 88d211e..72767a8 100644
--- a/arch/x86_64/include/arch/memory/multiboot/elf_symbols_section.hpp
+++ b/arch/x86_64/include/arch/memory/multiboot/elf_symbols_section.hpp
@@ -11,7 +11,7 @@ namespace teachos::arch::memory::multiboot
* @brief Defines all elf section types an elf section header can have. See
* https://docs.oracle.com/cd/E19683-01/816-1386/chapter6-94076/index.html for more information.
*/
- enum class elf_section_type : uint32_t
+ enum struct elf_section_type : uint32_t
{
INACTIVE, ///< (SHT_NULL) Unused, meaning all values are zeroed out
PROGRAMM, ///< (SHT_PROGBITS) Program data (DATA, CODE)
diff --git a/arch/x86_64/include/arch/memory/multiboot/info.hpp b/arch/x86_64/include/arch/memory/multiboot/info.hpp
index ca87834..a0f095f 100644
--- a/arch/x86_64/include/arch/memory/multiboot/info.hpp
+++ b/arch/x86_64/include/arch/memory/multiboot/info.hpp
@@ -12,7 +12,7 @@ namespace teachos::arch::memory::multiboot
* tag headers and see https://github.com/rhboot/grub2/blob/fedora-39/include/multiboot.h for more information on the
* actual header contents and their following data.
*/
- enum class tag_type : uint32_t
+ enum struct tag_type : uint32_t
{
END, ///< Signals final tag for the multiboot2 information structure
CMDLINE, ///< Contains the command line string
diff --git a/arch/x86_64/include/arch/memory/multiboot/memory_map.hpp b/arch/x86_64/include/arch/memory/multiboot/memory_map.hpp
index 4dc11cf..ecf3975 100644
--- a/arch/x86_64/include/arch/memory/multiboot/memory_map.hpp
+++ b/arch/x86_64/include/arch/memory/multiboot/memory_map.hpp
@@ -9,7 +9,7 @@ namespace teachos::arch::memory::multiboot
/**
* @brief Defines all memory area types possible that the memory region can be in.
*/
- enum class memory_area_type : uint32_t
+ enum struct memory_area_type : uint32_t
{
AVAILABLE = 1, ///< Region is available for use by the OS
RESERVED, ///< Region is reserved by firmware or bootloader and should not be used by OS