pc-simple-atomic.py (8134:b01a51ff05fa) pc-simple-atomic.py (8713:2f1a3e335255)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 74 unchanged lines hidden (view full) ---

83 is_top_level = True
84
85#cpu
86cpu = AtomicSimpleCPU(cpu_id=0)
87#the system
88mdesc = SysConfig(disk = 'linux-x86.img')
89system = FSConfig.makeLinuxX86System('atomic', mdesc=mdesc)
90system.kernel = FSConfig.binary('x86_64-vmlinux-2.6.22.9')
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 74 unchanged lines hidden (view full) ---

83 is_top_level = True
84
85#cpu
86cpu = AtomicSimpleCPU(cpu_id=0)
87#the system
88mdesc = SysConfig(disk = 'linux-x86.img')
89system = FSConfig.makeLinuxX86System('atomic', mdesc=mdesc)
90system.kernel = FSConfig.binary('x86_64-vmlinux-2.6.22.9')
91system.bridge.filter_ranges_a = [AddrRange(0, Addr.max >> 4)]
92system.bridge.filter_ranges_b = [AddrRange(0, size=mem_size)]
93system.iocache = IOCache(addr_range=mem_size)
94system.iocache.cpu_side = system.iobus.port
95system.iocache.mem_side = system.membus.port
96
97system.cpu = cpu
98#create the l1/l2 bus
99system.toL2Bus = Bus()
100

--- 17 unchanged lines hidden ---
91system.iocache = IOCache(addr_range=mem_size)
92system.iocache.cpu_side = system.iobus.port
93system.iocache.mem_side = system.membus.port
94
95system.cpu = cpu
96#create the l1/l2 bus
97system.toL2Bus = Bus()
98

--- 17 unchanged lines hidden ---