mem: Clean up Request initialisation
[gem5.git] / src / mem / multi_level_page_table.hh
index 9ae86924d6e7a88751889e2ab938ea1d06a96574..232121c21141f835ea0951e6ccac8ce59e75bc82 100644 (file)
@@ -141,12 +141,14 @@ class MultiLevelPageTable : public PageTableBase
     bool walk(Addr vaddr, bool allocate, Addr &PTE_addr);
 
 public:
-    MultiLevelPageTable(const std::string &__name, uint64_t _pid, System *_sys);
+    MultiLevelPageTable(const std::string &__name, uint64_t _pid,
+                        System *_sys);
     ~MultiLevelPageTable();
 
     void initState(ThreadContext* tc);
 
-    void map(Addr vaddr, Addr paddr, int64_t size, bool clobber = false);
+    void map(Addr vaddr, Addr paddr, int64_t size,
+             uint64_t flags = 0);
     void remap(Addr vaddr, int64_t size, Addr new_vaddr);
     void unmap(Addr vaddr, int64_t size);
     bool isUnmapped(Addr vaddr, int64_t size);