2020-08-07 13:10:23 +03:00
|
|
|
gen = decodetree.process('insns.decode')
|
|
|
|
|
|
|
|
openrisc_ss = ss.source_set()
|
|
|
|
openrisc_ss.add(gen)
|
|
|
|
openrisc_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'disas.c',
|
|
|
|
'exception.c',
|
|
|
|
'exception_helper.c',
|
|
|
|
'fpu_helper.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'interrupt_helper.c',
|
|
|
|
'sys_helper.c',
|
|
|
|
'translate.c',
|
|
|
|
))
|
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
openrisc_system_ss = ss.source_set()
|
|
|
|
openrisc_system_ss.add(files(
|
2021-09-11 19:54:26 +03:00
|
|
|
'interrupt.c',
|
|
|
|
'machine.c',
|
2021-09-15 06:33:23 +03:00
|
|
|
'mmu.c',
|
2021-09-11 19:54:26 +03:00
|
|
|
))
|
2020-08-07 13:10:23 +03:00
|
|
|
|
|
|
|
target_arch += {'openrisc': openrisc_ss}
|
2023-10-04 12:06:27 +03:00
|
|
|
target_system_arch += {'openrisc': openrisc_system_ss}
|