isa,cpu: Add support for FS SMT Interrupts
Adds per-thread interrupt controllers and thread/context logic so that interrupts properly get routed in SMT systems.
This commit is contained in:
@@ -265,9 +265,9 @@ if options.ruby:
|
||||
system.cpu[i].icache_port = ruby_port.slave
|
||||
system.cpu[i].dcache_port = ruby_port.slave
|
||||
if buildEnv['TARGET_ISA'] == 'x86':
|
||||
system.cpu[i].interrupts.pio = ruby_port.master
|
||||
system.cpu[i].interrupts.int_master = ruby_port.slave
|
||||
system.cpu[i].interrupts.int_slave = ruby_port.master
|
||||
system.cpu[i].interrupts[0].pio = ruby_port.master
|
||||
system.cpu[i].interrupts[0].int_master = ruby_port.slave
|
||||
system.cpu[i].interrupts[0].int_slave = ruby_port.master
|
||||
system.cpu[i].itb.walker.port = ruby_port.slave
|
||||
system.cpu[i].dtb.walker.port = ruby_port.slave
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user