x86_generic.py (9665:6dbdeee787cc) x86_generic.py (9674:d35bd171cf2a)
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

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

102 LinuxX86SystemBuilder.__init__(self)
103
104 def create_caches_private(self, cpu):
105 cpu.addTwoLevelCacheHierarchy(L1Cache(size='32kB', assoc=1),
106 L1Cache(size='32kB', assoc=4),
107 L2Cache(size='4MB', assoc=8),
108 PageTableWalkerCache(),
109 PageTableWalkerCache())
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

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

102 LinuxX86SystemBuilder.__init__(self)
103
104 def create_caches_private(self, cpu):
105 cpu.addTwoLevelCacheHierarchy(L1Cache(size='32kB', assoc=1),
106 L1Cache(size='32kB', assoc=4),
107 L2Cache(size='4MB', assoc=8),
108 PageTableWalkerCache(),
109 PageTableWalkerCache())
110
111
112class LinuxX86FSSwitcheroo(LinuxX86SystemBuilder, BaseFSSwitcheroo):
113 """Uniprocessor X86 system prepared for CPU switching"""
114
115 def __init__(self, **kwargs):
116 BaseFSSwitcheroo.__init__(self, **kwargs)
117 LinuxX86SystemBuilder.__init__(self)