AbstractMemory.py (9338:97b4a2be1e5b) | AbstractMemory.py (9707:1305bec2733f) |
---|---|
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 --- 34 unchanged lines hidden (view full) --- 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") 50 null = Param.Bool(False, "Do not store data, always return zero") | 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 --- 34 unchanged lines hidden (view full) --- 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") 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") | 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") |