page_table.cc (11793:ef606668d247) | page_table.cc (11800:54436a1784dc) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32 */ 33 34/** 35 * @file 36 * Definitions of functional page table. 37 */ 38#include "mem/page_table.hh" 39 | 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 --- 23 unchanged lines hidden (view full) --- 32 */ 33 34/** 35 * @file 36 * Definitions of functional page table. 37 */ 38#include "mem/page_table.hh" 39 |
40#include <fstream> 41#include <map> 42#include <memory> | |
43#include <string> 44 | 40#include <string> 41 |
45#include "base/bitfield.hh" 46#include "base/intmath.hh" | |
47#include "base/trace.hh" 48#include "config/the_isa.hh" 49#include "debug/MMU.hh" 50#include "sim/faults.hh" | 42#include "base/trace.hh" 43#include "config/the_isa.hh" 44#include "debug/MMU.hh" 45#include "sim/faults.hh" |
51#include "sim/sim_object.hh" | 46#include "sim/serialize.hh" |
52 53using namespace std; 54using namespace TheISA; 55 56FuncPageTable::FuncPageTable(const std::string &__name, 57 uint64_t _pid, Addr _pageSize) 58 : PageTableBase(__name, _pid, _pageSize) 59{ --- 175 unchanged lines hidden --- | 47 48using namespace std; 49using namespace TheISA; 50 51FuncPageTable::FuncPageTable(const std::string &__name, 52 uint64_t _pid, Addr _pageSize) 53 : PageTableBase(__name, _pid, _pageSize) 54{ --- 175 unchanged lines hidden --- |