Deleted Added
sdiff udiff text old ( 10556:1e3b3c7a0cba ) new ( 10558:426665ec11a9 )
full compact
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;

--- 133 unchanged lines hidden (view full) ---

142
143public:
144 MultiLevelPageTable(const std::string &__name, uint64_t _pid,
145 System *_sys);
146 ~MultiLevelPageTable();
147
148 void initState(ThreadContext* tc);
149
150 void map(Addr vaddr, Addr paddr, int64_t size, bool clobber = false);
151 void remap(Addr vaddr, int64_t size, Addr new_vaddr);
152 void unmap(Addr vaddr, int64_t size);
153 bool isUnmapped(Addr vaddr, int64_t size);
154 bool lookup(Addr vaddr, TheISA::TlbEntry &entry);
155 void serialize(std::ostream &os);
156 void unserialize(Checkpoint *cp, const std::string &section);
157};
158#endif // __MEM_MULTI_LEVEL_PAGE_TABLE_HH__