page_table.hh (12461:a4cb506cda74) page_table.hh (12749:223c83ed9979)
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2003 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

146 */
147 bool translate(Addr vaddr) { Addr dummy; return translate(vaddr, dummy); }
148
149 /**
150 * Perform a translation on the memory request, fills in paddr
151 * field of req.
152 * @param req The memory request.
153 */
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2003 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

146 */
147 bool translate(Addr vaddr) { Addr dummy; return translate(vaddr, dummy); }
148
149 /**
150 * Perform a translation on the memory request, fills in paddr
151 * field of req.
152 * @param req The memory request.
153 */
154 Fault translate(RequestPtr req);
154 Fault translate(const RequestPtr &req);
155
156 void getMappings(std::vector<std::pair<Addr, Addr>> *addr_mappings);
157
158 void serialize(CheckpointOut &cp) const override;
159 void unserialize(CheckpointIn &cp) override;
160};
161
162#endif // __MEM_PAGE_TABLE_HH__
155
156 void getMappings(std::vector<std::pair<Addr, Addr>> *addr_mappings);
157
158 void serialize(CheckpointOut &cp) const override;
159 void unserialize(CheckpointIn &cp) override;
160};
161
162#endif // __MEM_PAGE_TABLE_HH__