Restructured the gem5 backend:
- FailGem5Device is gone. - There are now changes directly made to the gem5 source. - Gem5Connector is a helper class that is compiled inside the gem5 context to workaround problems with gem5 header in fail. Things that are working: - BPSingleListener - MemAccessListener - Save and restore simulator state git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1820 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -6,6 +6,8 @@ if env['TARGET_ISA'] == 'no':
|
||||
env.Prepend(CPPPATH=Dir('../../../../../src/core/'))
|
||||
env.Prepend(CPPPATH=Dir('../../../../../build/src/core/'))
|
||||
|
||||
env.Append(CXXFLAGS = '-Wno-deprecated')
|
||||
|
||||
env.Prepend(LIBPATH=Dir('../../../../../build/lib/'))
|
||||
gStaticLibs = ['-lfail-sal', '-lfail-hsc-simple', '-lfail-comm', '-lfail-cpn', '-lfail-efw', '-lfail-util', '-lpcl']
|
||||
|
||||
@ -20,6 +22,7 @@ if (len(gStaticLibs)>0):
|
||||
env.Append(LINKCOM = ' $GEN_LIB_BUILD_STATIC')
|
||||
|
||||
|
||||
SimObject('FailGem5Device.py')
|
||||
Source('FailGem5Device.cc')
|
||||
DebugFlag('Fail')
|
||||
DebugFlag('FailState')
|
||||
CompoundFlag('Fail', ['FailState'])
|
||||
|
||||
Source('Gem5Connector.cc')
|
||||
|
||||
Reference in New Issue
Block a user