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/paging/page_entry.hpp13
1 files changed, 1 insertions, 12 deletions
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<allocator::physical_frame>;
/**
- * @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.
};