aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/memory/multiboot.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86_64/include/arch/memory/multiboot.hpp b/arch/x86_64/include/arch/memory/multiboot.hpp
index d66ca35..3aee7fc 100644
--- a/arch/x86_64/include/arch/memory/multiboot.hpp
+++ b/arch/x86_64/include/arch/memory/multiboot.hpp
@@ -49,7 +49,7 @@ namespace teachos::arch::memory
/**
* @brief Basic structure the multiboot_information_pointer points too and which contains all information of
- * multiboot2 in the tags array of different types.
+ * multiboot2 in the tags array of different types. The start as well as the content has to be 8 byte aligned.
*/
struct multi_boot_info
{
@@ -109,7 +109,7 @@ namespace teachos::arch::memory
enum class elf_section_type : uint32_t
{
INACTIVE, ///< (SHT_NULL) Unused, meaning all values are zeroed out
- PROGRAMM, ///< (SHT_PROGBITS) Program data
+ PROGRAMM, ///< (SHT_PROGBITS) Program data (DATA, CODE)
SYMBOL_TABLE, ///< (SHT_SYMBTAB) Contains actual entries pointed to in symbol hash table
STRING_TABLE, ///< (SHT_STRTAB) Contains symbols, section and deubbging null-terminated strings
RELOCATION_ENTRY_WITH_ADDENDS, ///< (SHT_RELA) Only used on 64 bit systems
@@ -146,7 +146,9 @@ namespace teachos::arch::memory
}
/**
- * @brief (SHF_WRITE) Wether the current section is writable or not. Read from bit index 0.
+ * @brief (SHF_WRITE) Wether the current section is writable at runtime or not. If it isn't then the section is
+ * assumed to be READONLY and only that behaviour is shown in the objdump -h of the kernel file. Read from bit index
+ * 0.
*
* @return Current section is writable.
*/