Deleted Added
sdiff udiff text old ( 11321:02e930db812d ) new ( 11446:ae6e3dd1c32c )
full compact
1/*
2 * Copyright (c) 2012, 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

54#include "debug/AddrRanges.hh"
55#include "debug/Checkpoint.hh"
56#include "mem/abstract_mem.hh"
57#include "mem/physical.hh"
58
59/**
60 * On Linux, MAP_NORESERVE allow us to simulate a very large memory
61 * without committing to actually providing the swap space on the
62 * host. On OSX the MAP_NORESERVE flag does not exist, so simply make
63 * it 0.
64 */
65#if defined(__APPLE__)
66#ifndef MAP_NORESERVE
67#define MAP_NORESERVE 0
68#endif
69#endif
70
71using namespace std;
72
73PhysicalMemory::PhysicalMemory(const string& _name,

--- 377 unchanged lines hidden ---