FSConfig.py (5253:0ecd2477b9f3) FSConfig.py (5263:e059fb430ef3)
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

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

184 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
185
186 if dumpfile:
187 self.etherdump = EtherDump(file=dumpfile)
188 self.etherlink.dump = Parent.etherdump
189
190 return self
191
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

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

184 self.etherlink.int1 = Parent.drivesys.tsunami.ethernet.interface
185
186 if dumpfile:
187 self.etherdump = EtherDump(file=dumpfile)
188 self.etherlink.dump = Parent.etherdump
189
190 return self
191
192def setMipsOptions(TestCPUClass.CoreParams)
192def setMipsOptions(TestCPUClass):
193 #CP0 Configuration
194 TestCPUClass.CoreParams.CP0_PRId_CompanyOptions = 0
195 TestCPUClass.CoreParams.CP0_PRId_CompanyID = 1
196 TestCPUClass.CoreParams.CP0_PRId_ProcessorID = 147
197 TestCPUClass.CoreParams.CP0_PRId_Revision = 0
198
199 #CP0 Interrupt Control
200 TestCPUClass.CoreParams.CP0_IntCtl_IPTI = 7

--- 60 unchanged lines hidden ---
193 #CP0 Configuration
194 TestCPUClass.CoreParams.CP0_PRId_CompanyOptions = 0
195 TestCPUClass.CoreParams.CP0_PRId_CompanyID = 1
196 TestCPUClass.CoreParams.CP0_PRId_ProcessorID = 147
197 TestCPUClass.CoreParams.CP0_PRId_Revision = 0
198
199 #CP0 Interrupt Control
200 TestCPUClass.CoreParams.CP0_IntCtl_IPTI = 7

--- 60 unchanged lines hidden ---