22 #ifndef MEMORY_MANAGER_X64_H 23 #define MEMORY_MANAGER_X64_H 356 std::map<integer_pointer, integer_pointer> m_phys_to_virt_map;
357 std::map<integer_pointer,
attr_type> m_virt_to_attr_map;
377 #define g_mm memory_manager_x64::instance() virtual pointer alloc_map(size_type size) noexcept
virtual pointer alloc(size_type size) noexcept
virtual void add_md(integer_pointer virt, integer_pointer phys, attr_type attr)
virtual integer_pointer virtint_to_physint(integer_pointer virt) const
virtual void free(pointer ptr) noexcept
virtual pointer physint_to_virtptr(integer_pointer phys) const
std::vector< memory_descriptor > memory_descriptor_list
virtual integer_pointer virtptr_to_physint(pointer virt) const
virtual size_type size_map(pointer ptr) const noexcept
virtual attr_type virtptr_to_attrint(pointer virt) const
virtual ~memory_manager_x64()=default
void uint64_t uint64_t uint64_t *rdx noexcept
virtual integer_pointer physptr_to_virtint(pointer phys) const
constexpr const auto page_shift
static memory_manager_x64 * instance() noexcept
decltype(memory_descriptor::type) attr_type
constexpr page_table_x64::integer_pointer virt
virtual size_type size(pointer ptr) const noexcept
virtual pointer virtint_to_physptr(integer_pointer virt) const
virtual integer_pointer physint_to_virtint(integer_pointer phys) const
virtual memory_descriptor_list descriptors() const
virtual pointer physptr_to_virtptr(pointer phys) const
constexpr const auto cache_line_shift
virtual void remove_md(integer_pointer virt) noexcept
virtual void free_map(pointer ptr) noexcept
virtual attr_type virtint_to_attrint(integer_pointer virt) const
uintptr_t integer_pointer
virtual pointer virtptr_to_physptr(pointer virt) const