System.py (7897:d9e8b1fd1a9f) | System.py (7914:eee5bb0fb8ea) |
---|---|
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; --- 33 unchanged lines hidden (view full) --- 42 43 @classmethod 44 def swig_objdecls(cls, code): 45 code('%include "python/swig/system.i"') 46 47 physmem = Param.PhysicalMemory(Parent.any, "physical memory") 48 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") 49 | 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; --- 33 unchanged lines hidden (view full) --- 42 43 @classmethod 44 def swig_objdecls(cls, code): 45 code('%include "python/swig/system.i"') 46 47 physmem = Param.PhysicalMemory(Parent.any, "physical memory") 48 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") 49 |
50 work_item_id = Param.Int(-1, "specific work item id") 51 work_begin_cpu_id_exit = Param.Int(-1, 52 "work started on specific id, now exit simulation") 53 work_begin_ckpt_count = Param.Counter(0, 54 "create checkpoint when work items begin count value is reached") 55 work_begin_exit_count = Param.Counter(0, 56 "exit simulation when work items begin count value is reached") 57 work_end_ckpt_count = Param.Counter(0, 58 "create checkpoint when work items end count value is reached") 59 work_end_exit_count = Param.Counter(0, 60 "exit simulation when work items end count value is reached") 61 work_cpus_ckpt_count = Param.Counter(0, 62 "create checkpoint when active cpu count value is reached") 63 |
|
50 if buildEnv['FULL_SYSTEM']: 51 abstract = True 52 boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, 53 "boot processor frequency") 54 init_param = Param.UInt64(0, "numerical value to pass into simulator") 55 boot_osflags = Param.String("a", "boot flags to pass to the kernel") 56 kernel = Param.String("", "file that contains the kernel code") 57 readfile = Param.String("", "file to read startup script from") 58 symbolfile = Param.String("", "file to get the symbols from") 59 load_addr_mask = Param.UInt64(0xffffffffff, 60 "Address to mask loading binaries with"); | 64 if buildEnv['FULL_SYSTEM']: 65 abstract = True 66 boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency, 67 "boot processor frequency") 68 init_param = Param.UInt64(0, "numerical value to pass into simulator") 69 boot_osflags = Param.String("a", "boot flags to pass to the kernel") 70 kernel = Param.String("", "file that contains the kernel code") 71 readfile = Param.String("", "file to read startup script from") 72 symbolfile = Param.String("", "file to get the symbols from") 73 load_addr_mask = Param.UInt64(0xffffffffff, 74 "Address to mask loading binaries with"); |