Searched refs:file_append (Results 1 - 1 of 1) sorted by relevance

/gem5/configs/common/
H A DFileSystemConfig.py46 def file_append(path, contents): function
117 file_append((procdir, 'cpuinfo'), one_cpu)
119 file_append((procdir, 'stat'), 'cpu 0 0 0 0 0 0 0\n')
121 file_append((procdir, 'stat'), 'cpu%d 0 0 0 0 0 0 0\n' % i)
131 file_append((cpudir, 'online'), '0-%d' % (len(cpus) - 1))
132 file_append((cpudir, 'possible'), '0-%d' % (len(cpus) - 1))
151 file_append((nodedir, 'cpumap'), hex_mask(cpu_list))
152 file_append((nodedir, 'meminfo'),
166 file_append((cpudir, 'online'), '1')
167 file_append((cpudi
[all...]

Completed in 8 milliseconds