System.py (11787:af41594e9b3c) System.py (11838:0b311345ac72)
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# Copyright (c) 2011 Regents of the University of California
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;

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

55 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in")
56
57 thermal_model = Param.ThermalModel(NULL, "Thermal model")
58 thermal_components = VectorParam.SimObject([],
59 "A collection of all thermal components in the system.")
60
61 # When reserving memory on the host, we have the option of
62 # reserving swap space or not (by passing MAP_NORESERVE to
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# Copyright (c) 2011 Regents of the University of California
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;

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

55 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in")
56
57 thermal_model = Param.ThermalModel(NULL, "Thermal model")
58 thermal_components = VectorParam.SimObject([],
59 "A collection of all thermal components in the system.")
60
61 # When reserving memory on the host, we have the option of
62 # reserving swap space or not (by passing MAP_NORESERVE to
63 # mmap). By enabling this flag, we accomodate cases where a large
63 # mmap). By enabling this flag, we accommodate cases where a large
64 # (but sparse) memory is simulated.
65 mmap_using_noreserve = Param.Bool(False, "mmap the backing store " \
66 "without reserving swap")
67
68 # The memory ranges are to be populated when creating the system
69 # such that these can be passed from the I/O subsystem through an
70 # I/O bridge or cache
71 mem_ranges = VectorParam.AddrRange([], "Ranges that constitute main memory")

--- 37 unchanged lines hidden ---
64 # (but sparse) memory is simulated.
65 mmap_using_noreserve = Param.Bool(False, "mmap the backing store " \
66 "without reserving swap")
67
68 # The memory ranges are to be populated when creating the system
69 # such that these can be passed from the I/O subsystem through an
70 # I/O bridge or cache
71 mem_ranges = VectorParam.AddrRange([], "Ranges that constitute main memory")

--- 37 unchanged lines hidden ---