From 38e87d52891429d56d20a54ce205d1e421068f36 Mon Sep 17 00:00:00 2001 From: Fabian Imhof Date: Sun, 27 Oct 2024 14:16:35 +0000 Subject: update gas --- arch/x86_64/include/arch/memory/paging/page_entry.hpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'arch/x86_64/include') diff --git a/arch/x86_64/include/arch/memory/paging/page_entry.hpp b/arch/x86_64/include/arch/memory/paging/page_entry.hpp index bfb0184..5959801 100644 --- a/arch/x86_64/include/arch/memory/paging/page_entry.hpp +++ b/arch/x86_64/include/arch/memory/paging/page_entry.hpp @@ -68,8 +68,7 @@ namespace teachos::arch::memory::paging auto calculate_pointed_to_frame() const -> std::optional; /** - * @brief Copies the address and flags from the given physical frame into the underlying std::bitset so future calls - * to calculate_physical_address() will return the new address and flags instead of the old one. + * @brief Copies the address and flags from the given physical frame into the underlying std::bitset * * @param frame Physical frame that contains the address we want to copy into our underlying std::bitset. * @param additional_flags Entry flags which will be copied into our underlying std::bitset. @@ -88,16 +87,6 @@ namespace teachos::arch::memory::paging auto contains_flags(std::bitset<64U> other) const -> bool; private: - /** - * @brief Extracts the physical address from the underlying bitset read from bit index 12 - 51. - * - * @note Is a 52 bit page aligned physical address of the frame of the next page table or the pyhscial address of - * the frame for P1 page tables. - * - * @return Extracted physical address of the next page or of the frame for P1 page tables. - */ - auto calculate_physical_address() const -> std::size_t; - std::bitset<64U> flags; ///< Underlying bitset used to read the flags from. Bits 9 - 11 and 52 - 62 can be ///< freely used for additional flags by the operating system. }; -- cgit v1.2.3