AbstractMemory.py (9707:1305bec2733f) | AbstractMemory.py (9835:cc7a7fc71c42) |
---|---|
1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 32 unchanged lines hidden (view full) --- 41 42from m5.params import * 43from MemObject import MemObject 44 45class AbstractMemory(MemObject): 46 type = 'AbstractMemory' 47 abstract = True 48 cxx_header = "mem/abstract_mem.hh" | 1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 32 unchanged lines hidden (view full) --- 41 42from m5.params import * 43from MemObject import MemObject 44 45class AbstractMemory(MemObject): 46 type = 'AbstractMemory' 47 abstract = True 48 cxx_header = "mem/abstract_mem.hh" |
49 range = Param.AddrRange(AddrRange('128MB'), "Address range") | 49 50 # A default memory size of 128 MB (starting at 0) is used to 51 # simplify the regressions 52 range = Param.AddrRange('128MB', "Address range (potentially interleaved)") |
50 null = Param.Bool(False, "Do not store data, always return zero") 51 52 # All memories are passed to the global physical memory, and 53 # certain memories may be excluded from the global address map, 54 # e.g. by the testers that use shadow memories as a reference 55 in_addr_map = Param.Bool(True, "Memory part of the global address map") 56 57 # Should the bootloader include this memory when passing 58 # configuration information about the physical memory layout to 59 # the kernel, e.g. using ATAG or ACPI | 53 null = Param.Bool(False, "Do not store data, always return zero") 54 55 # All memories are passed to the global physical memory, and 56 # certain memories may be excluded from the global address map, 57 # e.g. by the testers that use shadow memories as a reference 58 in_addr_map = Param.Bool(True, "Memory part of the global address map") 59 60 # Should the bootloader include this memory when passing 61 # configuration information about the physical memory layout to 62 # the kernel, e.g. using ATAG or ACPI |
60 conf_table_reported = Param.Bool(False, "Report to configuration table") | 63 conf_table_reported = Param.Bool(True, "Report to configuration table") |