aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2024-10-26 07:03:01 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2024-10-26 07:03:01 +0000
commitc2c7503fec31c07645fdc087dbf1ef487e90912e (patch)
tree711ba04a5f61cfa698b25e7fcf72af5c66fb97bb /arch/x86_64/include
parent4c97a4e1e2055ce63a0d16d1e5be880792a5e7eb (diff)
downloadteachos-c2c7503fec31c07645fdc087dbf1ef487e90912e.tar.xz
teachos-c2c7503fec31c07645fdc087dbf1ef487e90912e.zip
fix mmap type, adjust linker, use std::array
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/memory/multiboot/memory_map.hpp2
1 files changed, 1 insertions, 1 deletions
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 1a38a30..858ae52 100644
--- a/arch/x86_64/include/arch/memory/multiboot/memory_map.hpp
+++ b/arch/x86_64/include/arch/memory/multiboot/memory_map.hpp
@@ -28,10 +28,10 @@ namespace teachos::arch::memory::multiboot
*/
struct __attribute__((packed)) memory_area
{
- uint32_t size; ///< Size of this structure in bytes.
uint64_t base_address; ///< Base address the memory region starts at.
uint64_t area_length; ///< Size of the memory region, added to base_address results in the final address.
memory_area_type type; ///< Specific type of memory the region can contain.
+ uint32_t zero; ///<
};
/**