gem5: revive dp650

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 03c892f715
commit b9a31b842c
2 changed files with 14 additions and 7 deletions

View File

@@ -186,6 +186,10 @@ TODO: implement fully, some stuff is escaping currently.
)
# Gem5 args.
self.add_argument(
'--dp650', default=False,
help='Use the ARM DP650 display processor instead of the default HDLCD on gem5.'
)
self.add_argument(
'--gem5-build-dir',
help='''\
@@ -426,7 +430,10 @@ Valid emulators: {}
env['gem5_arch'] = 'ARM'
if env['emulator'] == 'gem5':
if not env['_args_given']['machine']:
env['machine'] = 'VExpress_GEM5_V1'
if env['dp650']:
env['machine'] = 'VExpress_GEM5_V1_DPU'
else:
env['machine'] = 'VExpress_GEM5_V1'
else:
if not env['_args_given']['machine']:
env['machine'] = 'virt'