1/* 2 * Copyright (c) 2014 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 131 unchanged lines hidden (view full) --- 140 */ 141 bool walk(Addr vaddr, bool allocate, Addr &PTE_addr); 142 143public: 144 MultiLevelPageTable(const std::string &__name, uint64_t _pid, 145 System *_sys); 146 ~MultiLevelPageTable(); 147 |
148 void initState(ThreadContext* tc) override; |
149 150 void map(Addr vaddr, Addr paddr, int64_t size, |
151 uint64_t flags = 0) override; 152 void remap(Addr vaddr, int64_t size, Addr new_vaddr) override; 153 void unmap(Addr vaddr, int64_t size) override; 154 bool isUnmapped(Addr vaddr, int64_t size) override; 155 bool lookup(Addr vaddr, TheISA::TlbEntry &entry) override; |
156 void serialize(CheckpointOut &cp) const override; 157 void unserialize(CheckpointIn &cp) override; 158}; 159#endif // __MEM_MULTI_LEVEL_PAGE_TABLE_HH__ |