AbstractMemory.py (8931:7a1dfb191e3f) | AbstractMemory.py (9236:c38988024f1f) |
---|---|
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 range = Param.AddrRange(AddrRange('128MB'), "Address range") | 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 range = Param.AddrRange(AddrRange('128MB'), "Address range") |
49 file = Param.String('', "Memory-mapped file") | |
50 null = Param.Bool(False, "Do not store data, always return zero") 51 zero = Param.Bool(False, "Initialize memory with zeros") 52 53 # All memories are passed to the global physical memory, and 54 # certain memories may be excluded from the global address map, 55 # e.g. by the testers that use shadow memories as a reference 56 in_addr_map = Param.Bool(True, "Memory part of the global address map") 57 58 # Should the bootloader include this memory when passing 59 # configuration information about the physical memory layout to 60 # the kernel, e.g. using ATAG or ACPI 61 conf_table_reported = Param.Bool(False, "Report to configuration table") | 49 null = Param.Bool(False, "Do not store data, always return zero") 50 zero = Param.Bool(False, "Initialize memory with zeros") 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 60 conf_table_reported = Param.Bool(False, "Report to configuration table") |