SConscript: easier to fix than temporarily remove cpu/simple/cpu.cc: cpu/simple/cpu.hh: mem needed for both fullsys and syscall dev/baddev.cc: fix for new mem system dev/io_device.cc: fix typo dev/io_device.hh: PioDevice needs to be a memobject dev/isa_fake.cc: dev/pciconfigall.cc: dev/pciconfigall.hh: fix for new mem systems dev/platform.cc: dev/platform.hh: dev/tsunami.cc: dev/tsunami.hh: rather than the platform have a pointer to pciconfig, go the other way so all devices are the same and can have a platform pointer dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_io.hh: dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: dev/uart8250.cc: python/m5/objects/AlphaConsole.py: python/m5/objects/BadDevice.py: python/m5/objects/BaseCPU.py: python/m5/objects/Device.py: python/m5/objects/Pci.py: python/m5/objects/PhysicalMemory.py: python/m5/objects/System.py: python/m5/objects/Tsunami.py: python/m5/objects/Uart.py: fixes for newmem --HG-- extra : convert_revision : b7b67e19095cca64889f6307725aa2f3d84c7105
21 lines
1 KiB
Python
21 lines
1 KiB
Python
from m5 import *
|
|
|
|
class System(SimObject):
|
|
type = 'System'
|
|
physmem = Param.PhysicalMemory(Parent.any, "phsyical memory")
|
|
if build_env['FULL_SYSTEM']:
|
|
boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
|
|
"boot processor frequency")
|
|
init_param = Param.UInt64(0, "numerical value to pass into simulator")
|
|
bin = Param.Bool(False, "is this system binned")
|
|
binned_fns = VectorParam.String([], "functions broken down and binned")
|
|
kernel = Param.String("file that contains the kernel code")
|
|
readfile = Param.String("", "file to read startup script from")
|
|
|
|
class AlphaSystem(System):
|
|
type = 'AlphaSystem'
|
|
console = Param.String("file that contains the console code")
|
|
pal = Param.String("file that contains palcode")
|
|
boot_osflags = Param.String("a", "boot flags to pass to the kernel")
|
|
system_type = Param.UInt64("Type of system we are emulating")
|
|
system_rev = Param.UInt64("Revision of system we are emulating")
|